aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-06-17 19:05:19 -0400
committerDeterminant <tederminant@gmail.com>2020-06-17 19:05:19 -0400
commit07a9f9db09f7ade1be5a90197c46fde2e5245fea (patch)
treee7f302305264a95e8288a82d71a67a49b06c961b /plugin
parent6a33e292321a38ad07bd4e19459896e5c8d532d1 (diff)
add CPU profiling APIv0.2.5
Diffstat (limited to 'plugin')
-rw-r--r--plugin/evm/vm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index bd8f9a4..4fa2267 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -32,6 +32,7 @@ import (
"github.com/ava-labs/gecko/snow/choices"
"github.com/ava-labs/gecko/snow/consensus/snowman"
"github.com/ava-labs/gecko/utils/timer"
+ "github.com/ava-labs/gecko/api/admin"
commonEng "github.com/ava-labs/gecko/snow/engine/common"
)
@@ -362,6 +363,7 @@ func (vm *VM) CreateHandlers() map[string]*commonEng.HTTPHandler {
handler.RegisterName("snowman", &SnowmanAPI{vm})
handler.RegisterName("web3", &Web3API{})
handler.RegisterName("debug", &DebugAPI{vm})
+ handler.RegisterName("admin", &admin.Performance{})
return map[string]*commonEng.HTTPHandler{
"/rpc": &commonEng.HTTPHandler{LockOptions: commonEng.NoLock, Handler: newIPFilter(handler)},
895a75856408788925bfb34e4c085c40efbaf'>291895a ^
ad1da0e


0651c91 ^
291895a ^

3f87d91 ^
291895a ^
3f87d91 ^
22413dd ^

0651c91 ^
291895a ^

94330ab ^
291895a ^
94330ab ^
291895a ^

94330ab ^
0651c91 ^
ad1da0e




0651c91 ^
ad1da0e




0651c91 ^
291895a ^

94330ab ^
291895a ^
94330ab ^
291895a ^

0651c91 ^
94330ab ^
291895a ^





90e30de ^
ad1da0e
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71