use nano seconds

pull/1433/head
norhh 4 years ago
parent 3c7d518b0c
commit 7c9502b99e
  1. 5
      mythril/analysis/report.py

@ -287,11 +287,12 @@ class Report:
meta_data.update(self._get_exception_data())
# Add execution info to meta
meta_data["mythril_execution_info"] = {}
meta_data["mythril_execution_info"] = {
"analysis_duration": (time() - StartTime().global_start_time) * (10 ** 9)
}
for execution_info in self.execution_info:
meta_data["mythril_execution_info"].update(execution_info.as_dict())
meta_data["mythril_analysis_duration"] = time() - StartTime().global_start_time
result = [
{
"issues": _issues,

Loading…
Cancel
Save