[hipl-commit] [trunk] Rev 3932: Wrote down the measurement unit used by performance.c.

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Fri, 12 Mar 2010 12:36:55 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: Fri Mar 12 12:38:09 2010 +0200
Revision: 3932
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Wrote down the measurement unit used by performance.c.
  Deleted an unreferenced function.

Modified:
  M  lib/performance/performance.c

=== modified file 'lib/performance/performance.c'
--- lib/performance/performance.c       2010-03-05 17:53:59 +0000
+++ lib/performance/performance.c       2010-03-12 10:38:09 +0000
@@ -4,7 +4,8 @@
  * \brief Primitive performance measurement library.
  * \author Tobias Heer
  *
- * This file provides a set of functions to mneasure execution time.
+ * This file provides a set of functions to measure execution time.
+ * The measurement unit is second.
  *
  * \note Distributed under
  * <a href="http://www.gnu.org/licenses/gpl.txt";>GNU/GPL</a>.
@@ -17,12 +18,6 @@
 #include "lib/core/debug.h"
 #include "lib/core/ife.h"
 
-int hip_perf_enabled()
-{
-    printf("PERF ENABLED");
-    return 1;
-}
-
 /*!
  * \brief Create a set of performance slots. Each performance measurement type
  * needs a slot.

Other related posts:

  • » [hipl-commit] [trunk] Rev 3932: Wrote down the measurement unit used by performance.c. - Miika Komu