|
Stopwatch - не понимаю
|
|||
---|---|---|---|
#18+
Что-то не понимаю, как такое может быть. sw.ElapsedMilliseconds = 2527, то есть 2.5 сек В тоже время, в том жe sw sw.ElapsedTicks = 8 371 834 8 371 834 / 10 000 000 = 0.8 сек ... |
|||
:
Нравится:
Не нравится:
|
|||
12.02.2016, 16:52 |
|
Stopwatch - не понимаю
|
|||
---|---|---|---|
#18+
MSDNStopwatch ticks are different from DateTime.Ticks. Each tick in the DateTime.Ticks value represents one 100-nanosecond interval. Each tick in the ElapsedTicks value represents the time interval equal to 1 second divided by the Frequency. т.е. получается так должно быть Код: c# 1.
ЗЫ не проверял ... |
|||
:
Нравится:
Не нравится:
|
|||
12.02.2016, 16:56 |
|
|
start [/forum/topic.php?fid=20&msg=39169735&tid=1400807]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
48ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
1ms |
others: | 291ms |
total: | 436ms |
0 / 0 |