change interval for host_trap in unit test to adapt to single kernel (#1064)
This commit is contained in:
committed by
GitHub
orang tua
ec4d4b8a0d
melakukan
775ac73d25
@@ -1174,7 +1174,10 @@ def apply_dispatch_filter(df: pd.DataFrame, workload: schema.Workload) -> pd.Dat
|
||||
if int(dispatch_id) >= len(df): # subtract 2 bc of the two header rows
|
||||
console_error("analysis", f"{dispatch_id} is an invalid dispatch id.")
|
||||
|
||||
if isinstance(workload.filter_dispatch_ids[0], str) and ">" in workload.filter_dispatch_ids[0]:
|
||||
if (
|
||||
isinstance(workload.filter_dispatch_ids[0], str)
|
||||
and ">" in workload.filter_dispatch_ids[0]
|
||||
):
|
||||
dispatch_match = re.match(r"\> (\d+)", workload.filter_dispatch_ids[0])
|
||||
df = df[
|
||||
df[schema.PMC_PERF_FILE_PREFIX]["Dispatch_ID"]
|
||||
|
||||
Reference in New Issue
Block a user