# Model_Network_BI_NetTimeStamp_35.luac
; fn @NetTimeStamp.lua  line 0-0 np=0 va=1 ms=2 code=15 consts=6 upvals=1 protos=3
;   K[0]='NetTimeStamp'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='NetTimeStamp'
;   K[4]='Init'
;   K[5]='EndAndGetDur'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('NetTimeStamp')] = R0
0002  GETTABUP  R0 = _ENV[K0('NetTimeStamp')]
0003  GETTABUP  R1 = _ENV[K0('NetTimeStamp')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('NetTimeStamp')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('NetTimeStamp')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('NetTimeStamp')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('EndAndGetDur')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 9-13 np=1 va=0 ms=5 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='NetTimeStamp'
  ;   K[2]='Init'
  ;   upvals: _ENV
  ;   locals: name(0-9), ts(4-9)
  0000  GETTABUP  R1 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R2 = {} (0 items)
  0002  GETTABUP  R3 = _ENV[K1('NetTimeStamp')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  SELF      R3 = R1[K2('Init')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 15-18 np=2 va=0 ms=6 code=13 consts=8 upvals=1 protos=0
  ;   K[0]='m_cpuStartTime'
  ;   K[1]='DeviceInfo'
  ;   K[2]='GetCpuTime'
  ;   K[3]='m_profilerStartTime'
  ;   K[4]='MicrofunProfiler'
  ;   K[5]='Instance'
  ;   K[6]='CreateTimeStamp'
  ;   K[7]='net_ts_'
  ;   upvals: _ENV
  ;   locals: self(0-13), name(0-13)
  0000  GETTABUP  R2 = _ENV[K1('DeviceInfo')]
  0001  GETTABLE  R2 = R2[K2('GetCpuTime')]
  0002  CALL      R2 = call(R2, 1 args, 0 rets)
  0003  SETTABLE  R0[K0('m_cpuStartTime')] = R2
  0004  GETTABUP  R2 = _ENV[K4('MicrofunProfiler')]
  0005  GETTABLE  R2 = R2[K5('Instance')]
  0006  SELF      R3 = R2[K6('CreateTimeStamp')] (self)
  0007  LOADK     R4 = K7 'net_ts_'
  0008  MOVE      R5 = R0
  0009  CONCAT    R4 = concat(R4..R4)
  0010  CALL      R2 = call(R2, 1 args, 2 rets)
  0011  SETTABLE  R0[K3('m_profilerStartTime')] = R2
  0012  RETURN    return R0..R-1
; ---------- proto2 [EndAndGetDur] ----------
  ; fn ?  line 20-34 np=1 va=0 ms=7 code=26 consts=13 upvals=1 protos=0
  ;   K[0]='m_profilerStartTime'
  ;   K[1]='End'
  ;   K[2]='gameTime'
  ;   K[3]='math'
  ;   K[4]='floor'
  ;   K[5]=1000
  ;   K[6]='time'
  ;   K[7]='DeviceInfo'
  ;   K[8]='GetCpuTime'
  ;   K[9]='m_cpuStartTime'
  ;   K[10]='cpuInS'
  ;   K[11]='gtInMS'
  ;   K[12]='totalInMS'
  ;   upvals: _ENV
  ;   locals: self(0-26), gtDur(5-26), gtInMS(9-26), totalDur(11-26), totalInMS(15-26), cpuInS(20-26)
  0000  GETTABLE  R1 = R0[K0('m_profilerStartTime')]
  0001  SELF      R2 = R1[K1('End')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  GETTABLE  R1 = R0[K0('m_profilerStartTime')]
  0004  GETTABLE  R1 = R1[K2('gameTime')]
  0005  GETTABUP  R2 = _ENV[K3('math')]
  0006  GETTABLE  R2 = R2[K4('floor')]
  0007  MUL       R3 = K5(1000) mul R1
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  GETTABLE  R3 = R0[K0('m_profilerStartTime')]
  0010  GETTABLE  R3 = R3[K6('time')]
  0011  GETTABUP  R4 = _ENV[K3('math')]
  0012  GETTABLE  R4 = R4[K4('floor')]
  0013  MUL       R5 = K5(1000) mul R3
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  GETTABUP  R5 = _ENV[K7('DeviceInfo')]
  0016  GETTABLE  R5 = R5[K8('GetCpuTime')]
  0017  CALL      R5 = call(R5, 1 args, 0 rets)
  0018  GETTABLE  R6 = R0[K9('m_cpuStartTime')]
  0019  SUB       R5 = R6 sub R5
  0020  NEWTABLE  R6 = {} (0 items)
  0021  SETTABLE  R6[K10('cpuInS')] = R5
  0022  SETTABLE  R6[K11('gtInMS')] = R2
  0023  SETTABLE  R6[K12('totalInMS')] = R4
  0024  RETURN    return R6..R5
  0025  RETURN    return R0..R-1
