Class port¶
Defined in File port.h
Class Documentation¶
-
class
ral::cache
::
port
¶ This class represent a diccionary of tuples <port_name, cache_machine> used by each kernel (input and outputs) into the execution graph.
Public Functions
-
virtual
~port
() = default¶
-
inline size_t
count
() const¶
-
void
register_port
(std::string port_name)¶
-
std::shared_ptr<CacheMachine> &
get_cache
(const std::string &port_name = "")¶
-
void
finish
()¶
-
inline std::shared_ptr<CacheMachine> &
operator[]
(const std::string &port_name)¶
-
bool
all_finished
()¶
-
bool
is_finished
(const std::string &port_name)¶
-
uint64_t
total_bytes_added
()¶
-
uint64_t
total_rows_added
()¶
-
uint64_t
total_batches_added
()¶
-
uint64_t
get_num_rows_added
(const std::string &port_name)¶
Public Members
-
std::map<std::string, std::shared_ptr<CacheMachine>>
cache_machines_
¶
-
virtual