This function returns the timestamp of the interval manager creation. The interval manager of the PDCE manages all clients and initiates the data collection to the different intervals of any registered client.
Pdce.bdh
PdceGetStartTickCount( out nTick : number ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
nTick | Specifies the timestamp value of the interval manager creation. |
const STRING_SIZE := 1024; PERFMON_SAMPLE_MEASURE := "PERFMON:\\Processor(_Total)\\% Processor Time@localhost"; dcltrans transaction TInit var sMeasureKey : string; sMeasureName : array[10] of string; sDescription : string; fPdceInitInterval : float; uiTimeStamp : number; begin PdceStartup(); PdceClientRegister(pClient, uiPdceInternalQueryInterval); sMeasureKey := PERFMON_SAMPLE_MEASURE; sMeasureName[1] := "PerfmonMeasure1"; PdceAddMeasure(pClient, sMeasureName[1], sMeasureKey, pMeasure[1]); wait(fPdceInitInterval); // get time stamp PdceGetStartTickCount(uiTimeStamp); write("Timestamp:"); write(uiTimeStamp, 10); PdceMeasureQueryInfo(pMeasure[1], sDescription, STRING_SIZE); write(sMeasureName[1]); write(": "); writeln(sDescription); writeln; end TInit;