#pragma once

using namespace System;

ref class MicroStopwatch : System::Diagnostics::Stopwatch //podedena trida od Stopwatch, pridano property casu v milisec
{
public:
	MicroStopwatch(void);
	
	property Int64 ElapsedMicroseconds
	{
		Int64 get();
	}
private:
	double uSecPerTick; //musi byt double, ponevadz napr. mim kompu je ta frekvence 2078554 a pri celociselnym deleni mikra (1000 * 1000) to je pak nula
};

