mksh/mksh.logging/atrshmlog.h
inline atrshmlog_time_t  atrshmlog_get_clicktime(void)
  {
    if (atrshmlog_clock_id == 3)
      {
	return (atrshmlog_time_t)atrshmlog_get_tsc_par_x86_64_gnu();
      }
    
    if (atrshmlog_clock_id == 2)
      {
	return (atrshmlog_time_t)atrshmlog_get_tsc_fence_x86_64_gnu();
      }
    
    if (atrshmlog_clock_id == 1)
      {
	return (atrshmlog_time_t)atrshmlog_get_tsc_x86_64_gnu();
      }
    
    return (atrshmlog_time_t)atrshmlog_get_tsc_null_x86_64_gnu();
  }
/**
   * \brief We get the click time from here.
   *
   * This is used in later versions, for now its a start.
   * We adress here the possibility to use code for 
   * similar architecture on diffrent systems.
   * So we need to choose a low level function by id.
   *
   * \return
   * The 64 bit  click time 
   */
\brief We get the click time from here.
This is used in later versions, for now its a start.
We adress here the possibility to use code for
similar architecture on diffrent systems.
So we need to choose a low level function by id.

\return
The 64 bit  click time
\ brief We get the click time from here . This is used in later versions for now its a start . We adress here the possibility to use code for similar architecture on diffrent systems . So we need to choose a low level function by id . \ return The 64 bit click time
inline atrshmlog_time_t  atrshmlog_get_clicktime(void)
  {
    if (atrshmlog_clock_id == 3)
      {
	return (atrshmlog_time_t)atrshmlog_get_tsc_par_x86_64_gnu();
      }
    if (atrshmlog_clock_id == 2)
      {
	return (atrshmlog_time_t)atrshmlog_get_tsc_fence_x86_64_gnu();
      }
    if (atrshmlog_clock_id == 1)
      {
	return (atrshmlog_time_t)atrshmlog_get_tsc_x86_64_gnu();
      }
    return (atrshmlog_time_t)atrshmlog_get_tsc_null_x86_64_gnu();
  }
inline atrshmlog_time_t atrshmlog_get_clicktime ( void ) { if ( atrshmlog_clock_id == 3 ) { return ( atrshmlog_time_t ) atrshmlog_get_tsc_par_x86_64_gnu ( ) ; } if ( atrshmlog_clock_id == 2 ) { return ( atrshmlog_time_t ) atrshmlog_get_tsc_fence_x86_64_gnu ( ) ; } if ( atrshmlog_clock_id == 1 ) { return ( atrshmlog_time_t ) atrshmlog_get_tsc_x86_64_gnu ( ) ; } return ( atrshmlog_time_t ) atrshmlog_get_tsc_null_x86_64_gnu ( ) ; }
\brief We get the click time from here.
\ brief We get the click time from here .