From c20afac0defa68f3474adc937210efc61de78325 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 21 Jan 2012 15:37:04 -0500 Subject: [PATCH] Moved the TIME_THIS docs into a more appropriate place. --- docs/docs/metaprogramming.xml | 22 ---------------------- docs/docs/other.xml | 23 +++++++++++++++++++++++ docs/docs/term_index.xml | 4 ++-- 3 files changed, 25 insertions(+), 24 deletions(-) diff --git a/docs/docs/metaprogramming.xml b/docs/docs/metaprogramming.xml index 8df373a6d..f60f67c64 100644 --- a/docs/docs/metaprogramming.xml +++ b/docs/docs/metaprogramming.xml @@ -71,7 +71,6 @@ DLIB_ASSERT_HAS_STANDARD_LAYOUT ASSERT_ARE_NOT_SAME_TYPE _dT - TIME_THIS is_same_object assign_zero_if_built_in_scalar_type wrap_function @@ -703,27 +702,6 @@ - - - - TIME_THIS - dlib/time_this.h - dlib/time_this.h - -

- This is a macro function for timing blocks of code. Its form is TIME_THIS(whatever you want to time) - It's pretty straight forward. It just prints the time it took to std::cout. -

-

- 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 TIME_THIS_TO(what you want to time, the output stream); -

- -
- -
- - diff --git a/docs/docs/other.xml b/docs/docs/other.xml index 7829deb6a..21891ccdf 100644 --- a/docs/docs/other.xml +++ b/docs/docs/other.xml @@ -61,6 +61,7 @@ serialize zero_extend_cast make_mfp + TIME_THIS
@@ -1030,6 +1031,28 @@ + + + TIME_THIS + dlib/time_this.h + dlib/time_this.h + +

+ This is a macro function for timing blocks of code. Its form is TIME_THIS(whatever you want to time) + It's pretty straight forward. It just prints the time it took to std::cout. +

+

+ 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 TIME_THIS_TO(what you want to time, the output stream); +

+ +
+ +
+ + + + diff --git a/docs/docs/term_index.xml b/docs/docs/term_index.xml index f628f3967..9389af2e0 100644 --- a/docs/docs/term_index.xml +++ b/docs/docs/term_index.xml @@ -487,8 +487,8 @@ - - + +