home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / tools / profiler / prf / prfifl.h < prev    next >
Text File  |  1988-11-22  |  1KB  |  41 lines

  1. /*
  2. File:
  3.                 prfifl.h        -Header file
  4.         Defines PRF types and structures for use in C programs.
  5.                 Should be #included into any C program using PRF routines.
  6.                 File 'prfifl.obj' should be linked into target application
  7.                 object code.
  8.                             
  9. */
  10.  
  11. /*
  12.    PRF_IsInstalled():
  13.    Purpose:     check that an PRF is installed on the system using the specified
  14.             software interrupt.  If the PRF is present, then the interface
  15.         library is initialised to use the specified interrupt,
  16.         otherwise an error is returned.
  17.    Parameter:   a byte value which specifies the software interrupt to check.
  18.    Return Val:    zero if a PRF is not present on the specified interrupt.
  19.         non-zero if a PRF is present on the specified interrupt.
  20. */    
  21.  
  22. int        far PRF_IsInstalled( unsigned char );
  23.          
  24. /*
  25.    PRF_Fn():
  26.    Purpose:     pass control and parameters (variable number) to PRF.
  27.    Parameters:    variable, first parameter is always function code.
  28.    Return Val:  function specific, always unsigned long. 
  29. */
  30.  
  31. /* Function Codes: */
  32. #define PRF_START 0
  33. #define PRF_STOP  2
  34.  
  35. unsigned long far PRF_Fn( int, ...);
  36. /*
  37.  * Utility routines that start and stop the profiling and
  38.  * dump the profiling data to a file....
  39.  */
  40. /* extern int PRFstart(),PRFstop(); */
  41.