Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed Dec 18, 2023
1 parent 05d981c commit 2915b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lisp/profiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ type Profiler interface {
SetFile(filename string) error
// Complete ends the profiling session and output summary lines
Complete() error
// Start the start of a process, and returns a function to stop.
// Start the process, and returns a function to stop.
Start(function *LVal) func()
}
4 changes: 2 additions & 2 deletions lisp/x/profiler/callgrind.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (p *callgrindProfiler) Start(function *lisp.LVal) func() {
}

return func() {
p.End(function)
p.end(function)
}
}

Expand Down Expand Up @@ -202,7 +202,7 @@ func (p *callgrindProfiler) getFunctionParameters(function *lisp.LVal) (string,
return source, line, fName
}

func (p *callgrindProfiler) End(function *lisp.LVal) {
func (p *callgrindProfiler) end(function *lisp.LVal) {
if !p.enabled {
return
}
Expand Down

0 comments on commit 2915b3a

Please sign in to comment.