public void ResetTimers() { timers = new NanoTimer[100]; for (int n = 0; n < 100; n++) { timers[n] = new NanoTimer(n.ToString()); timers[n].duration = 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; } }
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); }
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; }
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; }
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); }
public World() { timers = new NanoTimer[2]; timers[0] = new NanoTimer("0"); timers[1] = new NanoTimer("0"); }