lib/sw_services/xilplmi/src/xplmi_proc.c
void XPlmi_PrintRomTime(void)
{
	u64 PmcRomTime;
	XPlmi_PerfTime PerfTime;

	/* Get PMC ROM time */
	PmcRomTime = (u64)XPlmi_In32(PMC_GLOBAL_GLOBAL_GEN_STORAGE0);
	PmcRomTime |= (u64)XPlmi_In32(PMC_GLOBAL_GLOBAL_GEN_STORAGE1) << 32U;

	/* Print time stamp of PLM */
	XPlmi_GetPerfTime((XPLMI_PIT1_CYCLE_VALUE << 32U) |
		XPLMI_PIT2_CYCLE_VALUE, PmcRomTime, &PerfTime);
	XPlmi_Printf(DEBUG_PRINT_ALWAYS, "%u.%03u ms: ROM Time\r\n",
		(u32)PerfTime.TPerfMs, (u32)PerfTime.TPerfMsFrac);
}
/*****************************************************************************/
/**
 * @brief	This function prints the ROM time.
 *
 * @return	None
 *
 *****************************************************************************/
@brief       This function prints the ROM time.
@return      None
@brief This function prints the ROM time . @return None
void XPlmi_PrintRomTime(void)
{
	u64 PmcRomTime;
	XPlmi_PerfTime PerfTime;
	PmcRomTime = (u64)XPlmi_In32(PMC_GLOBAL_GLOBAL_GEN_STORAGE0);
	PmcRomTime |= (u64)XPlmi_In32(PMC_GLOBAL_GLOBAL_GEN_STORAGE1) << 32U;
	XPlmi_GetPerfTime((XPLMI_PIT1_CYCLE_VALUE << 32U) |
		XPLMI_PIT2_CYCLE_VALUE, PmcRomTime, &PerfTime);
	XPlmi_Printf(DEBUG_PRINT_ALWAYS, "%u.%03u ms: ROM Time\r\n",
		(u32)PerfTime.TPerfMs, (u32)PerfTime.TPerfMsFrac);
}
void XPlmi_PrintRomTime ( void ) { u64 PmcRomTime ; XPlmi_PerfTime PerfTime ; PmcRomTime = ( u64 ) XPlmi_In32 ( PMC_GLOBAL_GLOBAL_GEN_STORAGE0 ) ; PmcRomTime |= ( u64 ) XPlmi_In32 ( PMC_GLOBAL_GLOBAL_GEN_STORAGE1 ) << 32U ; XPlmi_GetPerfTime ( ( XPLMI_PIT1_CYCLE_VALUE << 32U ) | XPLMI_PIT2_CYCLE_VALUE , PmcRomTime , & PerfTime ) ; XPlmi_Printf ( DEBUG_PRINT_ALWAYS , " \r \n " , ( u32 ) PerfTime . TPerfMs , ( u32 ) PerfTime . TPerfMsFrac ) ; }
@brief       This function prints the ROM time.
@brief This function prints the ROM time .
/* Get PMC ROM time */ /* Print time stamp of PLM */