完善时间剪枝功能
Some checks failed
Build wheels / build (ubuntu-latest, 3.11) (push) Has been cancelled
Build wheels / build (ubuntu-latest, 3.12) (push) Has been cancelled
Build wheels / build (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / check (push) Has been cancelled
Tests / build (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / build (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / build (ubuntu-latest, 3.13) (push) Has been cancelled

This commit is contained in:
2026-05-08 00:12:32 +08:00
parent c818ac7a6e
commit 49b27a5840
701 changed files with 1426 additions and 72 deletions

View File

@@ -0,0 +1,30 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag xmlns:int="http://www.w3.org/2001/XMLSchema#int" xmlns:null="http://www.intel.com/2009/BagSchema#null" xmlns:unsignedLong="http://www.w3.org/2001/XMLSchema#unsignedLong">
<entry path="grouper" unsignedLong:size="39722">
<indexFields>
<field path="dd_thread"/>
<field path="cpu_data_attr"/>
<field path="cpu_data_scale"/>
<field path="cpu_usage_data_attr_utilization"/>
<field path="cpu_usage_data_scale"/>
<field path="pmu_data_attr_callsite"/>
<field path="pmu_data_attr_cpu"/>
<field path="pmu_data_attr_event_type"/>
<field path="pmu_data_scale"/>
<emptyField path="pmu_data_attr_mem_access" int:defaultValue="-1"/>
<emptyField path="pmu_data_attr_tsx_info" int:defaultValue="-1"/>
<emptyField path="marker_global_data_attr" null:defaultValue=""/>
<emptyField path="marker_global_data_scale" int:defaultValue="1"/>
</indexFields>
<int64Fields>
<field path="cpu_data_duration"/>
<field path="cpu_data_count"/>
<field path="cpu_data_inst_count"/>
<field path="pmu_data_duration"/>
<field path="pmu_data_count"/>
<field path="pmu_data_inst_count"/>
</int64Fields>
<doubleFields/>
</entry>
</bag>

View File

@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag>
<fileEntry key="0" value="0"/>
</bag>

View File

@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag xmlns:unsignedLong="http://www.w3.org/2001/XMLSchema#unsignedLong">
<entry path="grouper" unsignedLong:size="97">
<indexFields>
<field path="cpu_usage_data_attr"/>
<field path="cpu_usage_data_scale"/>
</indexFields>
<int64Fields>
<field path="cpu_usage_data_duration"/>
</int64Fields>
<doubleFields>
<field path="cpu_usage_data_count"/>
<field path="cpu_usage_data_inst_count"/>
</doubleFields>
</entry>
</bag>

View File

@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag>
<fileEntry key="0" value="0"/>
</bag>

View File

@@ -0,0 +1,22 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag xmlns:unsignedLong="http://www.w3.org/2001/XMLSchema#unsignedLong">
<entry path="grouper" unsignedLong:size="23">
<indexFields>
<field path="cpu_data_scale"/>
<field path="global_elapsed_time_data_scale"/>
<field path="pmu_data_attr_event_type"/>
<field path="pmu_data_scale"/>
</indexFields>
<int64Fields>
<field path="cpu_data_duration"/>
<field path="cpu_data_count"/>
<field path="cpu_data_inst_count"/>
<field path="global_elapsed_time_data_duration"/>
<field path="pmu_data_duration"/>
<field path="pmu_data_count"/>
<field path="pmu_data_inst_count"/>
</int64Fields>
<doubleFields/>
</entry>
</bag>

View File

@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag>
<fileEntry key="0" value="0"/>
</bag>

View File

@@ -0,0 +1,19 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag xmlns:int="http://www.w3.org/2001/XMLSchema#int" xmlns:null="http://www.intel.com/2009/BagSchema#null" xmlns:unsignedLong="http://www.w3.org/2001/XMLSchema#unsignedLong">
<entry path="grouper" unsignedLong:size="0">
<indexFields>
<field path="dd_thread"/>
<field path="cpu_usage_data_attr_utilization"/>
<field path="cpu_usage_data_scale"/>
<emptyField path="counter_data_attr" null:defaultValue=""/>
<emptyField path="counter_data_scale" int:defaultValue="1"/>
</indexFields>
<int64Fields>
<emptyField path="counter_data_duration" int:defaultValue="0"/>
<emptyField path="counter_data_count" int:defaultValue="0"/>
<emptyField path="counter_data_inst_count" int:defaultValue="0"/>
</int64Fields>
<doubleFields/>
</entry>
</bag>

Binary file not shown.

View File

@@ -0,0 +1,108 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag>
<grouper name="dd_thread" axis="dd_thread" recommendedStorage="container">
<entries>
<entry instanceTable="cpu_data" correlationType="byPrimaryAxis">
<groupings>
<grouping path="attr"/>
</groupings>
<standardMetrics>
<metric>time</metric>
<metric>count</metric>
<metric>instanceCount</metric>
</standardMetrics>
<customMetrics/>
</entry>
<entry instanceTable="cpu_usage_data" correlationType="global">
<groupings>
<grouping path="attr.utilization"/>
</groupings>
</entry>
<entry instanceTable="marker_global_data" correlationType="global">
<groupings>
<grouping path="attr"/>
</groupings>
</entry>
<entry instanceTable="pmu_data" correlationType="byPrimaryAxis">
<groupings>
<grouping path="attr.callsite"/>
<grouping path="attr.cpu"/>
<grouping path="attr.event_type"/>
<grouping path="attr.mem_access"/>
<grouping path="attr.tsx_info"/>
</groupings>
<standardMetrics>
<metric>time</metric>
<metric>count</metric>
<metric>instanceCount</metric>
</standardMetrics>
<customMetrics/>
</entry>
</entries>
</grouper>
<grouper name="global_data_grouper" recommendedStorage="container">
<entries>
<entry instanceTable="cpu_usage_data" correlationType="global">
<groupings>
<grouping path="attr"/>
</groupings>
<standardMetrics>
<metric>time</metric>
<metric>count</metric>
<metric>instanceCount</metric>
</standardMetrics>
<customMetrics/>
</entry>
</entries>
</grouper>
<grouper name="global_time_interval_metrics" recommendedStorage="container">
<entries>
<entry instanceTable="cpu_data" correlationType="global">
<standardMetrics>
<metric>time</metric>
<metric>count</metric>
<metric>instanceCount</metric>
</standardMetrics>
<customMetrics/>
</entry>
<entry instanceTable="global_elapsed_time_data" correlationType="global">
<standardMetrics>
<metric>time</metric>
</standardMetrics>
<customMetrics/>
</entry>
<entry instanceTable="pmu_data" correlationType="global">
<groupings>
<grouping path="attr.event_type"/>
</groupings>
<standardMetrics>
<metric>time</metric>
<metric>count</metric>
<metric>instanceCount</metric>
</standardMetrics>
<customMetrics/>
</entry>
</entries>
</grouper>
<grouper name="sched_and_counter_metrics" axis="dd_thread" recommendedStorage="container">
<entries>
<entry instanceTable="counter_data" correlationType="byPrimaryAxis">
<groupings>
<grouping path="attr"/>
</groupings>
<standardMetrics>
<metric>time</metric>
<metric>count</metric>
<metric>instanceCount</metric>
</standardMetrics>
<customMetrics/>
</entry>
<entry instanceTable="cpu_usage_data" correlationType="global">
<groupings>
<grouping path="attr.utilization"/>
</groupings>
</entry>
</entries>
</grouper>
</bag>

View File

@@ -0,0 +1,23 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag xmlns:unsignedLong="http://www.w3.org/2001/XMLSchema#unsignedLong">
<entry path="end_tsc" unsignedLong:size="21">
<indexFields>
<field path="dd_sample"/>
<field path="attr.callsite"/>
<field path="attr.event_type"/>
<field path="attr.cpu"/>
<field path="__bucket_idx.dd_thread"/>
<field path="nextSampleAttr.event_type"/>
<field path="nextSampleAttr.callsite"/>
</indexFields>
<int64Fields>
<field path="duration"/>
<field path="count"/>
<field path="start_tsc"/>
</int64Fields>
<doubleFields>
<field path="nextCpuUsageDelta"/>
</doubleFields>
</entry>
</bag>

Binary file not shown.

View File

@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag>
<fileEntry key="5790238892163798430" value="0"/>
</bag>

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag>
<fileEntry key="118_18446744073709551615_0_107_17_5790238804708940539" value="1"/>
<fileEntry key="118_18446744073709551615_0_252_19_5790238856058233189" value="2"/>
<fileEntry key="18446744073709551615_18446744073709551615_0_17_17_5790238627131099319" value="0"/>
</bag>

View File

@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<bag xmlns:int="http://www.w3.org/2001/XMLSchema#int" int:version="11" int:type="2">
<dbEntry key="GROUP_DEF(type:1 cpu_data /cpu_data::dd_sample.callsite.bottom_user_cs.code_loc.mod_seg.mod_file/cpu_data::dd_sample.callsite.type_cs.code_loc.func_range.func_inst.function.subtype/cpu_data::dd_sample.callsite.type_cs.code_loc.func_range.func_inst.function.type/dd_band::dd_thread/dd_band::dd_thread.process)" value="dbint-687978586"/>
</bag>