Skip to content

Commit fd48dfd

Browse files
author
sweet.yangyz
committed
Add an api rest for stress-ng.
1 parent aa7f182 commit fd48dfd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

stressng/param.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package stressng
2+
3+
type Param struct {
4+
Stressor string
5+
StressorCount int64
6+
Timeout int64
7+
TimeoutUnit string
8+
Abort bool
9+
Metrics bool
10+
}

0 commit comments

Comments
 (0)