|
package stat
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestStat(t *testing.T) {
|
|
fmt.Printf("%+v\n", GetProfile())
|
|
buf := make([][]int, 1024)
|
|
for i := range buf {
|
|
buf[i] = make([]int, 1024)
|
|
for j := 0; j < len(buf[i]); j++ {
|
|
buf[i][j] = 20
|
|
}
|
|
}
|
|
fmt.Printf("%+v\n", GetProfile())
|
|
}
|