 |
OpenMesh
|
Go to the documentation of this file.
55 #include <OpenMesh/Core/System/config.hh>
59 #if defined(OM_CC_MIPS)
108 bool is_stopped()
const {
return state_==Stopped; }
123 float resolution()
const;
126 double seconds(
void)
const;
129 double hseconds(
void)
const {
return seconds()*1e2; }
132 double mseconds(
void)
const {
return seconds()*1e3; }
135 double useconds(
void)
const {
return seconds()*1e6; }
140 std::string as_string(Format format = Automatic);
145 static std::string as_string(
double seconds, Format format = Automatic);
150 bool operator < (
const Timer& t2)
const
153 assert( is_stopped() && t2.is_stopped() );
154 return (seconds() < t2.
seconds());
157 bool operator > (
const Timer& t2)
const
159 assert( is_stopped() && t2.is_stopped() );
160 return (seconds() > t2.seconds());
163 bool operator == (
const Timer& t2)
const
165 assert( is_stopped() && t2.is_stopped() );
166 return (seconds() == t2.seconds());
169 bool operator <= (
const Timer& t2)
const
171 assert( is_stopped() && t2.is_stopped() );
172 return (seconds() <= t2.seconds());
175 bool operator >=(
const Timer& t2)
const
177 assert( is_stopped() && t2.is_stopped() );
178 return (seconds() >= t2.seconds());
auto operator<<(std::ostream &os, const VectorT< Scalar, DIM > &_vec) -> typename std::enable_if< sizeof(decltype(os<< _vec[0])) >=0
output a vector by printing its space-separated compontens
bool is_valid() const
Returns true if self is in a valid state!
Definition: Timer.hh:106
double hseconds(void) const
Returns measured time in hundredth seconds, if the timer is in state 'Stopped'.
Definition: Timer.hh:129
double seconds(void) const
Returns measured time in seconds, if the timer is in state 'Stopped'.
Format
Formatting options for member Timer::as_string()
Definition: Timer.hh:87
double useconds(void) const
Returns measured time in micro seconds, if the timer is in state 'Stopped'.
Definition: Timer.hh:135
Timer class.
Definition: Timer.hh:82
This file contains all code required to use Eigen3 vectors as Mesh vectors.
Definition: MeshItems.hh:59
double mseconds(void) const
Returns measured time in milli seconds, if the timer is in state 'Stopped'.
Definition: Timer.hh:132
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.