Home
last modified time | relevance | path

Searched refs:TimerInfo (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Ditimer.c44 IN struct itimerval *TimerInfo, in SetNext() argument
50 CopyMem(&(TimerInfo->it_value), &(TimerInfo->it_interval), sizeof(struct timeval)); in SetNext()
55 if (TimerInfo->it_value.tv_sec+TimerInfo->it_value.tv_usec == 0) { in SetNext()
69 TimerInfo->it_value.tv_sec*10000000+TimerInfo->it_value.tv_usec*1000); in SetNext()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiDpLib/
DDp.c58 TIMER_INFO TimerInfo; variable
286 Freq = GetPerformanceCounterProperties (&TimerInfo.StartCount, &TimerInfo.EndCount); in ShellCommandRunDp()
289 TimerInfo.Frequency = (UINT32)DivU64x32 (Freq, 1000); in ShellCommandRunDp()
292 TimerInfo.CountUp = (BOOLEAN) (TimerInfo.EndCount >= TimerInfo.StartCount); in ShellCommandRunDp()
301 ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_DP_KHZ), gDpHiiHandle, TimerInfo.Frequency); in ShellCommandRunDp()
305 …(EFI_STRING_ID) (TimerInfo.CountUp ? STRING_TOKEN (STR_DP_UP) : STRING_TOKEN (STR_DP_DOWN)), NULL); in ShellCommandRunDp()
310 TimerInfo.StartCount, in ShellCommandRunDp()
311 TimerInfo.EndCount in ShellCommandRunDp()
DDpUtilities.c81 Measurement->StartTimeStamp = TimerInfo.StartCount; in GetDuration()
83 if (TimerInfo.CountUp) { in GetDuration()
375 return DivU64x32 (Temp, TimerInfo.Frequency); in DurationInMicroSeconds()
DDpInternal.h36 extern TIMER_INFO TimerInfo;
DDpTrace.c477 (UINT32)TimerInfo.Frequency in ProcessPhases()
488 (UINT32)TimerInfo.Frequency in ProcessPhases()
499 (UINT32)TimerInfo.Frequency in ProcessPhases()
508 (UINT32)TimerInfo.Frequency in ProcessPhases()
518 (UINT32)TimerInfo.Frequency in ProcessPhases()
/device/linaro/bootloader/edk2/PerformancePkg/Dp_App/
DDp.c70 TIMER_INFO TimerInfo; variable
409 Freq = GetPerformanceCounterProperties (&TimerInfo.StartCount, &TimerInfo.EndCount); in InitializeDp()
412 TimerInfo.Frequency = (UINT32)DivU64x32 (Freq, 1000); in InitializeDp()
415 TimerInfo.CountUp = (BOOLEAN) (TimerInfo.EndCount >= TimerInfo.StartCount); in InitializeDp()
424 …PrintToken (STRING_TOKEN (STR_DP_KHZ), TimerInfo.Frequency); // Print Timer frequency in K… in InitializeDp()
430 … (EFI_STRING_ID) (TimerInfo.CountUp ? STRING_TOKEN (STR_DP_UP) : STRING_TOKEN (STR_DP_DOWN)), in InitializeDp()
435 TimerInfo.StartCount, in InitializeDp()
436 TimerInfo.EndCount in InitializeDp()
DDpUtilities.c96 Measurement->StartTimeStamp = TimerInfo.StartCount; in GetDuration()
98 if (TimerInfo.CountUp) { in GetDuration()
416 return DivU64x32 (Temp, TimerInfo.Frequency); in DurationInMicroSeconds()
DDpTrace.c476 (UINT32)TimerInfo.Frequency in ProcessPhases()
487 (UINT32)TimerInfo.Frequency in ProcessPhases()
498 (UINT32)TimerInfo.Frequency in ProcessPhases()
507 (UINT32)TimerInfo.Frequency in ProcessPhases()
517 (UINT32)TimerInfo.Frequency in ProcessPhases()
DDpInternal.h37 extern TIMER_INFO TimerInfo;