home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / gnuc / library / rcs / profil.c,v < prev    next >
Encoding:
Text File  |  1992-07-04  |  464 b   |  39 lines

  1. head    1.1;
  2. access;
  3. symbols
  4.     version39-41:1.1;
  5. locks;
  6. comment    @ *  @;
  7.  
  8.  
  9. 1.1
  10. date    92.05.14.19.55.40;    author mwild;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @function controls profiling mode of process
  17. @
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#define KERNEL
  26. #include "ixemul.h"
  27.  
  28. int
  29. profil (short *buff, int bufsiz, int offset, int scale)
  30. {
  31.   u.u_prof.pr_base  = buff;
  32.   u.u_prof.pr_size  = bufsiz;
  33.   u.u_prof.pr_off   = offset;
  34.   u.u_prof.pr_scale = scale;
  35.   
  36.   return 0;
  37. }
  38. @
  39.