From 04dd35809c30cf92dd03505ff583ad6972468c1e Mon Sep 17 00:00:00 2001 From: ftillier Date: Mon, 19 Sep 2005 07:40:13 +0000 Subject: [PATCH] [COMPLIB] Renamed cl_get_frequency to cl_get_tick_freq to clarify the scope of the function. It does not necessarilly give the frequency of the CPUs. Signed-off-by: Fab Tillier (ftillier@silverstorm.com) git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@76 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- core/complib/user/cl_timer.c | 2 +- inc/complib/cl_timer.h | 10 +++++----- inc/kernel/complib/cl_timer_osd.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/complib/user/cl_timer.c b/core/complib/user/cl_timer.c index 81c5b922..311b96e1 100644 --- a/core/complib/user/cl_timer.c +++ b/core/complib/user/cl_timer.c @@ -184,7 +184,7 @@ cl_get_tick_count( void ) uint64_t -cl_get_frequency( void ) +cl_get_tick_freq( void ) { LARGE_INTEGER frequency; diff --git a/inc/complib/cl_timer.h b/inc/complib/cl_timer.h index 7ea26417..8df14d8b 100644 --- a/inc/complib/cl_timer.h +++ b/inc/complib/cl_timer.h @@ -414,22 +414,22 @@ cl_get_tick_count( void ); * Value of the high-resolution performance counter. * * SEE ALSO -* Timer, cl_get_time_stamp, cl_get_frequency +* Timer, cl_get_time_stamp, cl_get_tick_freq *********/ -/****f* Component Library: Time Stamp/cl_get_frequency +/****f* Component Library: Time Stamp/cl_get_tick_freq * NAME -* cl_get_frequency +* cl_get_tick_freq * * DESCRIPTION -* The cl_get_frequency function returns the frequency of the +* The cl_get_tick_freq function returns the frequency of the * high-resolution performance counter. * * SYNOPSIS */ CL_EXPORT uint64_t CL_API -cl_get_frequency( void ); +cl_get_tick_freq( void ); /* * RETURN VALUE * The frequency of the high-resolution performance counter. diff --git a/inc/kernel/complib/cl_timer_osd.h b/inc/kernel/complib/cl_timer_osd.h index e09813b3..2a7285b6 100644 --- a/inc/kernel/complib/cl_timer_osd.h +++ b/inc/kernel/complib/cl_timer_osd.h @@ -87,7 +87,7 @@ cl_get_tick_count( void ) } CL_INLINE uint64_t CL_API -cl_get_frequency( void ) +cl_get_tick_freq( void ) { LARGE_INTEGER frequency; -- 2.17.1