|
|
|
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=39169744&tid=1400807]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
160ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 205ms |
| total: | 415ms |

| 0 / 0 |
