summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/benchmark.rst
diff options
context:
space:
mode:
authorAhmad Anbar <aanbar@gmail.com>2015-02-04 18:20:01 +0100
committerAhmad Anbar <aanbar@gmail.com>2015-02-04 18:20:01 +0100
commite5454f9b28f123a5549971f580255a065b2f8cc2 (patch)
treec4927e7b7afb0bf242976034630cc60f2f1db00f /user_guide_src/source/libraries/benchmark.rst
parent6db62ab0ad0e223806a1367e12b1884b48dc65d7 (diff)
parenteccac6e6a73a4d1a5b40f383ce64359c2c94ae12 (diff)
Merge remote-tracking branch 'upstream/develop' into develop
Diffstat (limited to 'user_guide_src/source/libraries/benchmark.rst')
-rw-r--r--user_guide_src/source/libraries/benchmark.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide_src/source/libraries/benchmark.rst b/user_guide_src/source/libraries/benchmark.rst
index ddbe04869..8fc06be12 100644
--- a/user_guide_src/source/libraries/benchmark.rst
+++ b/user_guide_src/source/libraries/benchmark.rst
@@ -131,16 +131,16 @@ this pseudo-variable, if you prefer not to use the pure PHP::
Class Reference
***************
-.. class:: CI_Benchmark
+.. php:class:: CI_Benchmark
- .. method:: mark($name)
+ .. php:method:: mark($name)
:param string $name: the name you wish to assign to your marker
:rtype: void
Sets a benchmark marker.
- .. method:: elapsed_time([$point1 = ''[, $point2 = ''[, $decimals = 4]]])
+ .. php:method:: elapsed_time([$point1 = ''[, $point2 = ''[, $decimals = 4]]])
:param string $point1: a particular marked point
:param string $point2: a particular marked point
@@ -156,7 +156,7 @@ Class Reference
swap the real value for this variable.
- .. method:: memory_usage()
+ .. php:method:: memory_usage()
:returns: Memory usage info
:rtype: string