Skip to content

Commit

Permalink
Merge pull request #225 from nyx-space/223-measure-performance-in-git…
Browse files Browse the repository at this point in the history
…hub-workflow-hotfix

Hotfix: Fix traj retain in ODP
  • Loading branch information
ChristopherRabotin committed Sep 1, 2023
2 parents 8c543ee + c11b447 commit c96a8a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install flamegraph
run: |
apt install linux-tools-common linux-tools-generic linux-tools-`uname -r`
sudo apt install linux-tools-common linux-tools-generic linux-tools-`uname -r`
cargo install flamegraph
- name: Run flamegraph
Expand Down
2 changes: 1 addition & 1 deletion src/od/process/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ where
let mut index = traj.states.len();
while index > 0 {
index -= 1;
if traj.states[index].epoch() > epoch {
if traj.states[index].epoch() >= epoch {
break;
}
}
Expand Down

0 comments on commit c96a8a8

Please sign in to comment.