Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
george0st committed Sep 24, 2024
1 parent da10b04 commit 99d0c15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions qgate_perf/file_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class FileFormat:
PRF_DETAIL_TIME_START = "startexec"
PRF_DETAIL_TIME_END = "endexec"
# detail for HUMAN
HR_PRF_DETAIL_CALLS = "calls"
HR_PRF_DETAIL_CALLS = "call"
HR_PRF_DETAIL_AVRG = "avr"
HR_PRF_DETAIL_STDEV = "std"

Expand All @@ -48,10 +48,10 @@ class FileFormat:
PRF_CORE_TOTAL_CALL_PER_SEC = "total_call_per_sec"
PRF_CORE_TIME_END = "endexec"
# core output for HUMAN
HM_PRF_CORE_PLAN_EXECUTOR_ALL = "planexec"
HM_PRF_CORE_PLAN_EXECUTOR_ALL = "plan"
HM_PRF_CORE_REAL_EXECUTOR = "exec"
HM_PRF_CORE_GROUP = "grp"
HM_PRF_CORE_TOTAL_CALL = "calls"
HM_PRF_CORE_TOTAL_CALL = "call"
HM_PRF_CORE_TOTAL_CALL_PER_SEC = "callsec"
HM_PRF_CORE_AVRG_TIME = "avr"
HM_PRF_CORE_STD_DEVIATION = "std"
2 changes: 1 addition & 1 deletion qgate_perf/parallel_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def _print_detail(self, file, run_setup: RunSetup, return_dict, processes, threa
FileFormat.PRF_CORE_TIME_END: datetime.datetime.utcnow().isoformat(' ')
}
readable_out = {
FileFormat.HM_PRF_CORE_PLAN_EXECUTOR_ALL: f"{processes * threads} [{processes}, {threads}]",
FileFormat.HM_PRF_CORE_PLAN_EXECUTOR_ALL: f"{processes * threads} [{processes},{threads}]",
FileFormat.HM_PRF_CORE_REAL_EXECUTOR: count,
FileFormat.HM_PRF_CORE_GROUP: group,
FileFormat.HM_PRF_CORE_TOTAL_CALL: sum_call,
Expand Down

0 comments on commit 99d0c15

Please sign in to comment.