-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.go
More file actions
37 lines (29 loc) · 947 Bytes
/
functions.go
File metadata and controls
37 lines (29 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Code generated by idiomgen. DO NOT EDIT.
package trace
import (
capi "github.com/AndroidGoLab/ndk/capi/trace"
)
// BeginAsyncSection calls the underlying C function.
func BeginAsyncSection(sectionName string, cookie int32) {
capi.ATrace_beginAsyncSection(sectionName, cookie)
}
// BeginSection calls the underlying C function.
func BeginSection(sectionName string) {
capi.ATrace_beginSection(sectionName)
}
// EndAsyncSection calls the underlying C function.
func EndAsyncSection(sectionName string, cookie int32) {
capi.ATrace_endAsyncSection(sectionName, cookie)
}
// EndSection calls the underlying C function.
func EndSection() {
capi.ATrace_endSection()
}
// IsEnabled calls the underlying C function.
func IsEnabled() bool {
return (bool)(capi.ATrace_isEnabled())
}
// SetCounter calls the underlying C function.
func SetCounter(counterName string, counterValue int64) {
capi.ATrace_setCounter(counterName, counterValue)
}