M
Michael Riggio
Does anyone know a way to get system ticks in .Net? I found DateTime.Ticks,
but that is equal to 100 nanoseconds. The reason I'm asking is because we're
considering passing some sort of timestamp when an event fires. Do you have
any suggestions on getting this value?
Though I haven't confirmed it yet, I would think doing the following would
yield 2 different timestamps:
DateTime x = DateTime.Now;
DateTime y = DateTime.Now;
These should be different, but I'm wondering if they won't be when faster
cpus come out?
Any thoughts?
but that is equal to 100 nanoseconds. The reason I'm asking is because we're
considering passing some sort of timestamp when an event fires. Do you have
any suggestions on getting this value?
Though I haven't confirmed it yet, I would think doing the following would
yield 2 different timestamps:
DateTime x = DateTime.Now;
DateTime y = DateTime.Now;
These should be different, but I'm wondering if they won't be when faster
cpus come out?
Any thoughts?