Skip to content

Commit

Permalink
Add all sort types available in library and remove additional white s…
Browse files Browse the repository at this point in the history
…pace

Signed-off-by: Ian Hoang <[email protected]>
  • Loading branch information
IanHoang committed Dec 11, 2024
1 parent 823f14d commit d92842d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions osbenchmark/worker_coordinator/worker_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ def os_clients(all_hosts, all_client_options):


class AsyncProfiler:
SORT_TYPES = ["ncall", "ttot"]
SORT_TYPES = ["ncall", "tsub", "ttot", "tavg"]

def __init__(self, target, client_id, task, sort_type):
"""
Expand Down Expand Up @@ -1599,7 +1599,6 @@ async def __call__(self, *args, **kwargs):
4: ("tavg", 8)
})


profile = f"\n=== Profile start for client id [{self.client_id}] and task [{self.task}] ===\n"
profile += s.getvalue()
profile += "\n=== Profile END ===\n"
Expand Down

0 comments on commit d92842d

Please sign in to comment.