mirror of
https://github.com/go-gst/go-gst.git
synced 2026-04-22 23:57:18 +08:00
14 lines
257 B
Go
14 lines
257 B
Go
package gst
|
|
|
|
import "runtime/pprof"
|
|
|
|
var padprobesProfile *pprof.Profile
|
|
|
|
func init() {
|
|
padprobes := "go-gst-active-pad-probes"
|
|
padprobesProfile = pprof.Lookup(padprobes)
|
|
if padprobesProfile == nil {
|
|
padprobesProfile = pprof.NewProfile(padprobes)
|
|
}
|
|
}
|