Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
c20afac0
Commit
c20afac0
authored
Jan 21, 2012
by
Davis King
Browse files
Moved the TIME_THIS docs into a more appropriate place.
parent
0b978555
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
24 deletions
+25
-24
docs/docs/metaprogramming.xml
docs/docs/metaprogramming.xml
+0
-22
docs/docs/other.xml
docs/docs/other.xml
+23
-0
docs/docs/term_index.xml
docs/docs/term_index.xml
+2
-2
No files found.
docs/docs/metaprogramming.xml
View file @
c20afac0
...
@@ -71,7 +71,6 @@
...
@@ -71,7 +71,6 @@
<item>
DLIB_ASSERT_HAS_STANDARD_LAYOUT
</item>
<item>
DLIB_ASSERT_HAS_STANDARD_LAYOUT
</item>
<item>
ASSERT_ARE_NOT_SAME_TYPE
</item>
<item>
ASSERT_ARE_NOT_SAME_TYPE
</item>
<item>
_dT
</item>
<item>
_dT
</item>
<item>
TIME_THIS
</item>
<item>
is_same_object
</item>
<item>
is_same_object
</item>
<item>
assign_zero_if_built_in_scalar_type
</item>
<item>
assign_zero_if_built_in_scalar_type
</item>
<item>
wrap_function
</item>
<item>
wrap_function
</item>
...
@@ -703,27 +702,6 @@
...
@@ -703,27 +702,6 @@
</component>
</component>
<!-- ************************************************************************* -->
<component>
<name>
TIME_THIS
</name>
<file>
dlib/time_this.h
</file>
<spec_file>
dlib/time_this.h
</spec_file>
<description>
<p>
This is a macro function for timing blocks of code. Its form is
<tt>
TIME_THIS(whatever you want to time)
</tt>
It's pretty straight forward. It just prints the time it took to std::cout.
</p>
<p>
There is another version of this function called TIME_THIS_TO which takes as a parameter an ostream
object to write its output to. Its form is
<tt>
TIME_THIS_TO(what you want to time, the output stream)
</tt>
;
</p>
</description>
</component>
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
<component>
<component>
...
...
docs/docs/other.xml
View file @
c20afac0
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
<item>
serialize
</item>
<item>
serialize
</item>
<item>
zero_extend_cast
</item>
<item>
zero_extend_cast
</item>
<item>
make_mfp
</item>
<item>
make_mfp
</item>
<item>
TIME_THIS
</item>
</section>
</section>
<section>
<section>
...
@@ -1030,6 +1031,28 @@
...
@@ -1030,6 +1031,28 @@
</component>
</component>
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
<component>
<name>
TIME_THIS
</name>
<file>
dlib/time_this.h
</file>
<spec_file>
dlib/time_this.h
</spec_file>
<description>
<p>
This is a macro function for timing blocks of code. Its form is
<tt>
TIME_THIS(whatever you want to time)
</tt>
It's pretty straight forward. It just prints the time it took to std::cout.
</p>
<p>
There is another version of this function called TIME_THIS_TO which takes as a parameter an ostream
object to write its output to. Its form is
<tt>
TIME_THIS_TO(what you want to time, the output stream)
</tt>
;
</p>
</description>
</component>
<!-- ************************************************************************* -->
</components>
</components>
...
...
docs/docs/term_index.xml
View file @
c20afac0
...
@@ -487,8 +487,8 @@
...
@@ -487,8 +487,8 @@
<term
file=
"metaprogramming.html"
name=
"DLIB_CASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_CASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"COMPILE_TIME_ASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"COMPILE_TIME_ASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_ASSERT_HAS_STANDARD_LAYOUT"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_ASSERT_HAS_STANDARD_LAYOUT"
/>
<term
file=
"
metaprogramming
.html"
name=
"TIME_THIS"
/>
<term
file=
"
other
.html"
name=
"TIME_THIS"
/>
<term
link=
"
metaprogramming
.html#TIME_THIS"
name=
"TIME_THIS_TO"
/>
<term
link=
"
other
.html#TIME_THIS"
name=
"TIME_THIS_TO"
/>
<term
file=
"metaprogramming.html"
name=
"_dT"
/>
<term
file=
"metaprogramming.html"
name=
"_dT"
/>
<term
file=
"metaprogramming.html"
name=
"is_pointer_type"
/>
<term
file=
"metaprogramming.html"
name=
"is_pointer_type"
/>
<term
file=
"metaprogramming.html"
name=
"is_const_type"
/>
<term
file=
"metaprogramming.html"
name=
"is_const_type"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment