Dakota
Version 6.21
Explore and Predict with Confidence
|
Lightweight class to manage conditionally active Curl-based HTTP tracker via PIMPL. More...
Public Member Functions | |
UsageTracker () | |
default construction: no output | |
UsageTracker (int world_rank) | |
standard constructor; will output on rank 0 More... | |
void | post_start (ProblemDescDB &problem_db) |
post the start of an analysis and archive start time | |
void | post_finish (unsigned runtime=0) |
post the completion of an analysis including elapsed time | |
Private Member Functions | |
UsageTracker (const UsageTracker &) | |
copy construction is disallowed | |
Private Attributes | |
std::shared_ptr< TrackerHTTP > | pTrackerHTTP |
posts usage data to Web server; using shared_ptr due to potentially incomplete type and requirements for checked_delete in debug builds (scoped_ptr would suffice) | |
Lightweight class to manage conditionally active Curl-based HTTP tracker via PIMPL.
All conditional compilation in managed in the cpp file; all operations are no-op in this wrapper if not enabling tracking...
UsageTracker | ( | int | world_rank | ) |
standard constructor; will output on rank 0
standard constructor; will output on rank 0 and only initializes if tracking compiled in and not disable by environment
References UsageTracker::pTrackerHTTP.