class
#include <eckit/runtime/TaskInfo.h>
TaskInfo
Base classes
-
template<class T, int size>class Padded<Info, 4096>
- class NonCopyable
- Inherit from this class to make a NonCopyable class.
Constructors, destructors, conversion operators
Public functions
- void out(char*, char*)
- auto busy(bool = false) -> bool
- auto name() const -> const char*
- auto kind() const -> const char*
- auto status() const -> const char*
- auto message() const -> const char*
- auto application() const -> const char*
- auto pid() const -> pid_t
- auto last() const -> time_t
- auto start() const -> time_t
- auto late() const -> unsigned long
- void late(unsigned long n)
- auto taskID() -> const TaskID&
- void taskID(const TaskID& n)
- void stop()
- auto stopped() const -> bool
- void abort()
- void checkAbort()
- void kill(int)
- auto exception() const -> bool
- void exception(bool on)
- void start(unsigned long long, unsigned long long)
- void progress(unsigned long long)
- void done()
- auto max() const -> unsigned long long
- auto min() const -> unsigned long long
- auto val() const -> unsigned long long
- auto rate() const -> double
- auto speed() const -> double
- auto progressName() const -> const char*
- auto progressStart() const -> const ::timeval&
- auto progressLast() const -> const ::timeval&
-
void kind(const std::
string&) -
void name(const std::
string&) -
void status(const std::
string&) -
void message(const std::
string&) -
void progressName(const std::
string&) - void show(bool s)
- auto show() const -> bool
- void stoppable(bool s)
- auto stoppable() const -> bool
- auto stopTriggered() const -> bool
- void setStopped()
- void touch()
-
void resource(const std::
string&) - auto text(char*, unsigned long, unsigned long&) const -> unsigned long
- void parent(long p)
- auto parent() const -> long
- auto depth() const -> long
- void state(char c)
- auto state() const -> char
- void port(int p)
- auto port() const -> int
-
void host(const std::
string& h) -
auto host() const -> std::
string
Friends
-
auto operator<<(std::
ostream& s, const TaskInfo& p) -> std:: ostream& - auto operator<<(JSON& s, const TaskInfo& p) -> JSON&