Back to index

glibc  2.9
Functions | Variables
libc-internal.h File Reference
#include <hp-timing.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void __libc_init_secure (void)
void __libc_global_ctors (void)
int __profile_frequency (void)
 libc_hidden_proto (__profile_frequency) extern void __cyg_profile_func_enter(void *this_fn
void __cyg_profile_func_exit (void *this_fn, void *call_site)
hp_timing_t __get_clockfreq (void)
void __libc_freeres (void)
 libc_hidden_proto (__libc_freeres) extern void __libc_thread_freeres(void)
void __init_misc (int, char **, char **)

Variables

void * call_site

Function Documentation

void __cyg_profile_func_exit ( void *  this_fn,
void *  call_site 
)

Definition at line 23 of file get_clockfreq.c.

{
  /* There is no generic way to find this out since we have in general
     no counter register either.  */
  return 0;
}

Here is the call graph for this function:

void __init_misc ( int  ,
char **  ,
char **   
)
void __libc_freeres ( void  )

Definition at line 33 of file set-freeres.c.

{
  /* This function might be called from different places.  So better
     protect for multiple executions since these are fatal.  */
  static long int already_called;

  if (! atomic_compare_and_exchange_bool_acq (&already_called, 1, 0))
    {
      void * const *p;

#ifdef USE_IN_LIBIO
      _IO_cleanup ();
#endif

      RUN_HOOK (__libc_subfreeres, ());

      for (p = symbol_set_first_element (__libc_freeres_ptrs);
          ! symbol_set_end_p (__libc_freeres_ptrs, p); ++p)
       free (*p);
    }
}

Here is the call graph for this function:

void __libc_global_ctors ( void  )

Definition at line 25 of file soinit.c.

{
  /* Call constructor functions.  */
  run_hooks (__CTOR_LIST__);
}
void __libc_init_secure ( void  )

Definition at line 32 of file enbl-secure.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 37 of file prof-freq.c.

{
  /*
   * Discover the tick frequency of the machine if something goes wrong,
   * we return 0, an impossible hertz.
   */
  struct itimerval tim;

  tim.it_interval.tv_sec = 0;
  tim.it_interval.tv_usec = 1;
  tim.it_value.tv_sec = 0;
  tim.it_value.tv_usec = 0;
  __setitimer(ITIMER_REAL, &tim, 0);
  __setitimer(ITIMER_REAL, 0, &tim);
  if (tim.it_interval.tv_usec < 2)
    return 0;
  return (1000000 / tim.it_interval.tv_usec);
}

Here is the call graph for this function:


Variable Documentation

void* call_site

Definition at line 21 of file libc-internal.h.