]> mj.ucw.cz Git - libucw.git/blobdiff - lib/profile.h
One more round of changes to the assert code -- I didn't realize that CONFIG_DEBUG
[libucw.git] / lib / profile.h
index 7d8d1312c5b09b314f22bb86e06e8023dab55427..3fe2b975253cdb616a774ffd40849c1dfb97e56c 100644 (file)
@@ -2,6 +2,9 @@
  *     Sherlock Library -- Poor Man's Profiler
  *
  *     (c) 2001 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 /*
@@ -14,7 +17,7 @@
  *             prof_start(&cnt);
  *             ...
  *             prof_stop(&cnt);
- *             printf("%s\n", PROF_STRING(&cnt));
+ *             printf("%s\n", PROF_STR(cnt));
  */
 
 /* PROFILE_TOD: gettimeofday() profiler */