Esempio n. 1
0
 public void ResetTimers()
 {
     timers = new NanoTimer[100];
     for (int n = 0; n < 100; n++)
     {
         timers[n]          = new NanoTimer(n.ToString());
         timers[n].duration = 0;
     }
 }
Esempio n. 2
0
 public void ResetTimers()
 {
   timers=new NanoTimer[100];
   for (int n = 0; n < 100; n++)
   {
     timers[n] = new NanoTimer(n.ToString());
     timers[n].duration = 0;
   }
 }
Esempio n. 3
0
 public NanoTimer Copy(NanoTimer t)
 {
     t.duration       = duration;
     t.ticks          = ticks;
     t.frequency      = frequency;
     t.nanosecPerTick = nanosecPerTick;
     t.timesum        = timesum;
     t.count          = count;
     return(t);
 }
Esempio n. 4
0
 public NanoTimer Copy(NanoTimer t)
 {
     t.duration = duration;
     t.ticks = ticks;
     t.frequency = frequency;
     t.nanosecPerTick = nanosecPerTick;
     t.timesum = timesum;
     t.count = count;
     return t;
 }
Esempio n. 5
0
  public NanoTimer Clone()
    {
      NanoTimer t=new NanoTimer(name);
      t.duration = duration;
      t.ticks =ticks ;
      t.frequency =frequency ;
      t.nanosecPerTick =nanosecPerTick ;
      t.timesum =timesum ;
      t.count = count;

      return t;
    }
Esempio n. 6
0
        public NanoTimer Clone()
        {
            NanoTimer t = new NanoTimer(name);

            t.duration       = duration;
            t.ticks          = ticks;
            t.frequency      = frequency;
            t.nanosecPerTick = nanosecPerTick;
            t.timesum        = timesum;
            t.count          = count;

            return(t);
        }
Esempio n. 7
0
 public World()
 {
     timers    = new NanoTimer[2];
     timers[0] = new NanoTimer("0");
     timers[1] = new NanoTimer("0");
 }
Esempio n. 8
0
 public World()
 {
     timers = new NanoTimer[2];
     timers[0] = new NanoTimer("0");
     timers[1] = new NanoTimer("0");
 }