[rt/misc] Change implementation of EventRecorder (#9424)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Fri, 6 Dec 2019 04:26:59 +0000 (13:26 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 6 Dec 2019 04:26:59 +0000 (13:26 +0900)
commit2a0b19a5bbdaad7fc014645416101b68f30966a3
tree78c8532eb5430c7c4a555c88221d1ccca9ec2e80
parent0e8ce84915d4c3bfb1c6668e640e2f53f62288fa
[rt/misc] Change implementation of EventRecorder (#9424)

As `EventRecorder` does not have to write to file on-the-fly,
this commit has the following changes.

- Remove ostream object from the member list
- Introduce `writeToFile` method and remove `init and `fini`

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtime/contrib/xtrace/src/xtrace.cc
runtime/libs/misc/include/misc/EventRecorder.h
runtime/libs/misc/src/EventRecorder.cpp
runtime/neurun/core/src/exec/ExecutionObservers.cc