Skip to content

Commit

Permalink
add milestones print
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanhuanO committed Oct 3, 2024
1 parent c72c904 commit 69d4612
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion samples/fir/fir.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ package main

import (
"flag"
"fmt"
"log"

"github.com/sarchlab/mgpusim/v3/timing/rob"
"github.com/sarchlab/mgpusim/v3/benchmarks/heteromark/fir"
"github.com/sarchlab/mgpusim/v3/samples/runner"
)
Expand All @@ -20,4 +23,9 @@ func main() {
runner.AddBenchmark(benchmark)

runner.Run()
}
err := rob.GlobalMilestoneManager.ExportMilestonesToCSV("../samples/fir/milestones.csv")
if err != nil {
log.Fatalf("Error exporting milestones: %v", err)
}
fmt.Println("Milestones exported successfully")
}

0 comments on commit 69d4612

Please sign in to comment.