mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
迁移配置表
This commit is contained in:
@@ -3,6 +3,7 @@ package game
|
||||
import (
|
||||
"encoding/json"
|
||||
"reflect"
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
appConfig "hk4e/common/config"
|
||||
@@ -184,6 +185,7 @@ func (g *GameManager) gameMainLoop() {
|
||||
tickCost := int64(0)
|
||||
localEventCost := int64(0)
|
||||
commandCost := int64(0)
|
||||
runtime.LockOSThread()
|
||||
for {
|
||||
// 消耗CPU时间性能统计
|
||||
now := time.Now().UnixNano()
|
||||
|
||||
Reference in New Issue
Block a user