NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Result for a specific @CompilationRequest. Contains a reference to the @DynmaicObject created by the compiler. More...
#include <CompilationResult.hpp>
Public Member Functions | |
CompilationResult (std::shared_ptr< DynamicObject > dynamicObject, Timer<> &&timer) | |
Constructor for a Compilation result. More... | |
std::shared_ptr< DynamicObject > | getDynamicObject () const |
Returns the dynamic object created by the Compiler. More... | |
uint64_t | getCompilationTime () const |
Returns the compilation time. More... | |
Result for a specific @CompilationRequest. Contains a reference to the @DynmaicObject created by the compiler.
NES::Compiler::CompilationResult::CompilationResult | ( | std::shared_ptr< DynamicObject > | dynamicObject, |
Timer<> && | timer | ||
) |
Constructor for a Compilation result.
dynamicObject | The dynamic object created by the @LanguageCompiler |
timer | timer object to measure the time it takes to handle the @CompilationRequest |
uint64_t NES::Compiler::CompilationResult::getCompilationTime | ( | ) | const |
Returns the compilation time.
References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getRuntime().
std::shared_ptr< DynamicObject > NES::Compiler::CompilationResult::getDynamicObject | ( | ) | const |
Returns the dynamic object created by the Compiler.