home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iperf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-01  |  2.1 KB  |  54 lines

  1. #pragma info( none )
  2. #ifndef __CHKHDR__
  3.    #pragma info( none )
  4. #endif
  5. #pragma info( restore )
  6.  
  7. /* These three functions can be called by the user through IPERF   */
  8. #ifdef __cplusplus
  9.    extern "C" {
  10. #endif
  11.  
  12.    #ifndef  _LNK_CONV
  13.       #ifdef __LE2__
  14.          #define  _LNK_CONV   _System
  15.       #else
  16.          #define  _LNK_CONV   _Optlink
  17.       #endif
  18.    #endif
  19.  
  20. /**********************************************************************/
  21. /*  <iperf.h> header file                                             */
  22. /*                                                                    */
  23. /*  IBM(R) VisualAge(TM) for C++ for Windows(R), Version 3.5          */
  24. /*   - Licensed Material - Program-Property of IBM                    */
  25. /*  (C) Copyright IBM Corp. 1991, 1995 - All Rights Reserved.         */
  26. /*                                                                    */
  27. /*                                                                    */
  28. /* The following functions can be placed in your program to cause the */
  29. /*  Performance Analyzer to:                                          */
  30. /*                                                                    */
  31. /*    stop generating trace data                                      */
  32. /*      void _LNK_CONV PerfStop  ();                                  */
  33. /*                                                                    */
  34. /*    start generating trace data                                     */
  35. /*      void   _LNK_CONV PerfStart ();                                */
  36. /*                                                                    */
  37. /*    log a user event                                                */
  38. /*      void   _LNK_CONV PERF (const char *STRING);                   */
  39. /**********************************************************************/
  40.  
  41.     void   _LNK_CONV    PerfStop  (void);
  42.     void   _LNK_CONV    PerfStart (void);
  43.     void   _LNK_CONV    PERF      (const char *STRING);
  44.  
  45. #ifdef __cplusplus
  46.    }
  47. #endif
  48.  
  49. #pragma info( none )
  50. #ifndef __CHKHDR__
  51.    #pragma info( restore )
  52. #endif
  53. #pragma info( restore )
  54.