tdaq-develop-2025-02-12
Return to top level
TimeFormatter.h
1
#ifndef ots_TimeFormatter_h
2
#define ots_TimeFormatter_h
3
4
#include <sys/time.h>
5
#include <string>
6
7
namespace
ots
8
{
9
class
TimeFormatter
10
{
11
public
:
12
TimeFormatter
(std::string source);
13
~
TimeFormatter
(
void
);
14
16
static
std::string
getTime
(
void
);
17
static
std::string getmSecTime(
void
);
18
19
void
stopTimer(
void
);
20
struct
tm* getITime(
void
);
21
struct
timeval getImSecTime(void);
22
23
private
:
24
struct
timeval startTime_;
25
struct
timeval endTime_;
26
std::string origin_;
27
bool
verbose_;
28
};
29
30
}
// namespace ots
31
#endif
ots::TimeFormatter
Definition:
TimeFormatter.h:10
ots::TimeFormatter::getTime
static std::string getTime(void)
Static memebers.
Definition:
TimeFormatter.cc:45
ots
Definition:
ArtdaqOtsBuildInfo_module.cc:10
otsdaq
otsdaq
ConfigurationInterface
TimeFormatter.h
Generated on Mon Feb 17 2025 17:02:10 for tdaq-develop-2025-02-12 by
1.9.1