summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/benchmark.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-02 12:41:01 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-02 12:41:01 +0100
commitcd3d9dbcbc99fa956b7400d328f202e1bcab4677 (patch)
treeca1e12b6751f31de8f49055118318643f7d647c7 /user_guide_src/source/libraries/benchmark.rst
parent7fd0c2d22ccbeb824419477ae8b506b84002ea13 (diff)
[ci skip] Fix #3515
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