Timing.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:2k
- /****************************************************************************************
- * Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
- *
- * File: $Workfile: Timing.h $
- *
- * Description:
- * ============
- *
- *
- * Log:
- * ====
- * $Revision: 4 $
- * Last Modified by $Author: Nirm $ at $Modtime: 1/05/02 9:27 $
- ****************************************************************************************
- * Updates:
- ****************************************************************************************
- * $Log: /I49/H49V/Playcore/Timing/Timing.h $
- *
- * 4 7/05/02 16:00 Nirm
- * Code cleanup.
- *
- * 3 23/04/02 9:36 Nirm
- * - Added dependency in "Config.h".
- *
- * 2 9/01/02 16:55 Nirm
- * Corrected Include-Paths.
- ****************************************************************************************/
- #include "Config.h" // Global Configuration - do not remove!
- #include "IncludeSysDefs.h"
- #ifdef EVENT_LOG_ENABLED
- void timing_init(void);
- void timing_reset(void);
- void timing_record(char *str);
- // Records the current timerX reading in a cyclic readings array
- // Records the time + the ID to enable tarceing
- void timing_print(void);
- // Prints the timing array in mSec resolution and resets the array
- #endif // EVENT_LOG_ENABLED
- void delay_us(ULONG period_us);
- ULONG timing_get_clock(void);
- ULONG timing_get_diff(ULONG start, ULONG end);
- BOOL timing_is_timeout(ULONG start_time, ULONG timeout);