// This class represents a runtime simulator root concept - one per Runtime instance. // It also acts as a container - dynamically opens and closes libart-simulator. class CodeSimulatorContainer { public: explicit CodeSimulatorContainer(InstructionSet target_isa);
~CodeSimulatorContainer();
// Create a basic simulator executor. If this was not possible because libart-simulator was // previously not loaded (e.g: on target) then return nullptr instead.
BasicCodeSimulator* CreateBasicExecutor(size_t stack_size);
// Create an ART runtime aware simulator executor. If this was not possible because // libart-simulator was previously not loaded (e.g: on target) then return nullptr instead.
CodeSimulator* CreateExecutor(size_t stack_size);
private: // A handle for the libart_simulator dynamic library. void* libart_simulator_handle_;
InstructionSet target_isa_;
DISALLOW_COPY_AND_ASSIGN(CodeSimulatorContainer);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.