Пример #1
0
 // Token: 0x06000641 RID: 1601 RVA: 0x00038219 File Offset: 0x00036419
 private void amTimerDelete(ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
     if (timer.delete_flag == 1)
     {
         timer = null;
         return;
     }
     timer = null;
 }
Пример #2
0
 private void amTimerDelete(ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
     if (timer.delete_flag == 1)
     {
         timer = (AppMain.AMS_TIMER)null;
     }
     else
     {
         timer = (AppMain.AMS_TIMER)null;
     }
 }
Пример #3
0
 private AppMain.AMS_TIMER amTimerCreate(ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
     if (timer == null)
     {
         timer             = new AppMain.AMS_TIMER();
         timer.delete_flag = 1;
     }
     else
     {
         timer = (AppMain.AMS_TIMER)null;
     }
     timer.count_freq = 1000000f;
     return(timer);
 }
Пример #4
0
 private float amTimerCalcFrame(ulong count_start, ulong count_end, ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
     return((float)(count_end - count_start) * 60f / timer.count_freq);
 }
Пример #5
0
 private void amTimerEnd(ref AppMain.AMS_TIMER timer, int reset)
 {
     AppMain.mppAssertNotImpl();
 }
Пример #6
0
 private void amTimerStart(ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
 }
Пример #7
0
 private float amTimerGetuSec(ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
     return(timer.usec);
 }
Пример #8
0
 private float amTimerGetFrame(ref AppMain.AMS_TIMER timer)
 {
     AppMain.mppAssertNotImpl();
     return(timer.frame);
 }