Skip to content

Commit

Permalink
update API
Browse files Browse the repository at this point in the history
  • Loading branch information
DX990307 committed Mar 27, 2024
1 parent c72c904 commit a559714
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samples/runner/timingplatform.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ func (b *R9NanoPlatformBuilder) setupPerformanceAnalyzer() {
WithEngine(b.engine).
Build()
}

if b.monitor != nil {
b.monitor.RegisterPerfAnalyzer(b.perfAnalyzer)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Compile

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Compile

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Lint

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer) (typecheck)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Lint

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer)) (typecheck)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Lint

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer)) (typecheck)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Lint

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer)) (typecheck)

Check failure on line 253 in samples/runner/timingplatform.go

View workflow job for this annotation

GitHub Actions / Lint

b.monitor.RegisterPerfAnalyzer undefined (type *monitoring.Monitor has no field or method RegisterPerfAnalyzer)) (typecheck)
}
}

func (b *R9NanoPlatformBuilder) createGPUs(
Expand Down

0 comments on commit a559714

Please sign in to comment.