hongji.li
2023-11-07 e5c15d1f9d0575bce01a8a58539e52ac274940a5
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
Method PTF_GetDurationInMilisecond (
  Real startprecisionctr
) as Real id:Method_LibPTF_pnlTestRunner_PTF_GetDurationInMilisecond
{
  #keys: '[104342.0.779723351]'
  Body:
  [*
    // Calculate the duration taken based on Precision Counters
    return ( ( OS::PrecisionCounter() - startprecisionctr ) / OS::PrecisionCounterFrequency() * 1000 ).Round( 0 );
  *]
}