|
Samchon Framework for CPP
1.0.0
|
#include <InvokeHistory.hpp>

Public Member Functions | |
| InvokeHistory () | |
| InvokeHistory (std::shared_ptr< protocol::Invoke > invoke) | |
| virtual auto | key () const -> size_t override |
| Get a key that can identify the Entity uniquely. More... | |
| auto | getUID () const -> size_t |
| auto | getListener () const -> std::string |
| auto | computeElapsedTime () const -> long long |
| void | complete () |
History of an Invoke message.
The InvokeHistory is a class archiving history log of an Invoke message with elapsed time. This InvokeHistory class is used to report elapsed time of handling a requested process from slave to master system.
The master system utilizes derived InvokeHistory objects to compute performance indices.
Definition at line 28 of file InvokeHistory.hpp.
|
inline |
Default Constructor.
Definition at line 48 of file InvokeHistory.hpp.
|
inline |
Construct from an Invoke message.
| invoke | An Invoke message requesting a parallel or distributed process. |
Definition at line 57 of file InvokeHistory.hpp.
|
inlineoverridevirtual |
Get a key that can identify the Entity uniquely.
If identifier of the Entity is not atomic value, returns a string represents the composite identifier. If identifier of the Entity is not string, converts the identifier to string and returns the string.
Reimplemented from samchon::protocol::Entity< size_t >.
Definition at line 89 of file InvokeHistory.hpp.
Referenced by samchon::templates::distributed::DSInvokeHistory::getWeight().

|
inline |
Get end time.
Definition at line 97 of file InvokeHistory.hpp.
|
inline |
Get listener of the Invoke message.
Definition at line 105 of file InvokeHistory.hpp.
|
inline |
Compute elapsed time.
Definition at line 133 of file InvokeHistory.hpp.
Referenced by samchon::templates::distributed::DistributedSystem::createChild().

|
inline |
Complete the history.
Completes the history and determines the end time.
Definition at line 143 of file InvokeHistory.hpp.