Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
c20afac0
Commit
c20afac0
authored
Jan 21, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the TIME_THIS docs into a more appropriate place.
parent
0b978555
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
24 deletions
+25
-24
metaprogramming.xml
docs/docs/metaprogramming.xml
+0
-22
other.xml
docs/docs/other.xml
+23
-0
term_index.xml
docs/docs/term_index.xml
+2
-2
No files found.
docs/docs/metaprogramming.xml
View file @
c20afac0
...
...
@@ -71,7 +71,6 @@
<item>
DLIB_ASSERT_HAS_STANDARD_LAYOUT
</item>
<item>
ASSERT_ARE_NOT_SAME_TYPE
</item>
<item>
_dT
</item>
<item>
TIME_THIS
</item>
<item>
is_same_object
</item>
<item>
assign_zero_if_built_in_scalar_type
</item>
<item>
wrap_function
</item>
...
...
@@ -703,27 +702,6 @@
</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>
...
...
docs/docs/other.xml
View file @
c20afac0
...
...
@@ -61,6 +61,7 @@
<item>
serialize
</item>
<item>
zero_extend_cast
</item>
<item>
make_mfp
</item>
<item>
TIME_THIS
</item>
</section>
<section>
...
...
@@ -1030,6 +1031,28 @@
</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>
...
...
docs/docs/term_index.xml
View file @
c20afac0
...
...
@@ -487,8 +487,8 @@
<term
file=
"metaprogramming.html"
name=
"DLIB_CASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"COMPILE_TIME_ASSERT"
/>
<term
file=
"metaprogramming.html"
name=
"DLIB_ASSERT_HAS_STANDARD_LAYOUT"
/>
<term
file=
"
metaprogramming
.html"
name=
"TIME_THIS"
/>
<term
link=
"
metaprogramming
.html#TIME_THIS"
name=
"TIME_THIS_TO"
/>
<term
file=
"
other
.html"
name=
"TIME_THIS"
/>
<term
link=
"
other
.html#TIME_THIS"
name=
"TIME_THIS_TO"
/>
<term
file=
"metaprogramming.html"
name=
"_dT"
/>
<term
file=
"metaprogramming.html"
name=
"is_pointer_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