Commit b7b6b55
committed
[L0] Fix cached and evicted timestamp recordings
This commit fixes two issues with the level zero implementation of
timestamp recording events:
* Events allocated for timestamp recordings may have been previously
used, which may lead the implementation to think that the recordings
of the old timestamp are right. The implementation will now reset the
value of it.
* To avoid cases where timestamp recordings could conflict in the
recordings buffer, unfinished recordings of dead events are now moved
to another map, to be evicted fully on queue synchronization or death.
Signed-off-by: Larsen, Steffen <[email protected]>1 parent eb076da commit b7b6b55
3 files changed
+31
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
578 | | - | |
| 577 | + | |
579 | 578 | | |
580 | 579 | | |
581 | 580 | | |
| |||
748 | 747 | | |
749 | 748 | | |
750 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
751 | 753 | | |
752 | 754 | | |
753 | 755 | | |
754 | 756 | | |
755 | 757 | | |
756 | 758 | | |
757 | | - | |
758 | | - | |
| 759 | + | |
759 | 760 | | |
760 | 761 | | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
| 762 | + | |
| 763 | + | |
765 | 764 | | |
766 | 765 | | |
767 | 766 | | |
| |||
1089 | 1088 | | |
1090 | 1089 | | |
1091 | 1090 | | |
1092 | | - | |
| 1091 | + | |
1093 | 1092 | | |
1094 | 1093 | | |
1095 | | - | |
| 1094 | + | |
| 1095 | + | |
1096 | 1096 | | |
1097 | 1097 | | |
1098 | 1098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1563 | 1563 | | |
1564 | 1564 | | |
1565 | 1565 | | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
1571 | | - | |
1572 | | - | |
1573 | | - | |
1574 | | - | |
1575 | | - | |
1576 | | - | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
1581 | | - | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
1582 | 1580 | | |
1583 | 1581 | | |
| 1582 | + | |
1584 | 1583 | | |
1585 | 1584 | | |
1586 | 1585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
502 | 499 | | |
503 | 500 | | |
504 | 501 | | |
| |||
0 commit comments