0 38573.1 1 14831.6 2 7893.16 3 625.987 4 26.1359 5 10.9159 6 9.23542 7 9.08501 8 9.07054 9 9.06913
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <dyninst/BPatch.h> | |
int main (int argc, const char* argv[]) { | |
BPatch bpatch; | |
BPatch_process *proc = bpatch.processAttach(argv[1], atoi(argv[2])); | |
proc->detach(true); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program terminated with signal 11, Segmentation fault. | |
#0 0x00007f59aeb1c45e in __printf_fp () from /usr/lib/libc.so.6 | |
(gdb) bt | |
#0 0x00007f59aeb1c45e in __printf_fp () from /usr/lib/libc.so.6 | |
#1 0x00007f59aeb1b185 in vfprintf () from /usr/lib/libc.so.6 | |
#2 0x00007f59aeb207b9 in printf () from /usr/lib/libc.so.6 | |
#3 0x0000000000400534 in main () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/common/hashtable/rculfhash.h b/src/common/hashtable/rculfhash.h | |
index 17cf6db..601feea 100644 | |
--- a/src/common/hashtable/rculfhash.h | |
+++ b/src/common/hashtable/rculfhash.h | |
@@ -34,6 +34,11 @@ | |
#include "urcu-flavor.h" | |
+static int __attribute__((noinline)) __is_null_pointer(unsigned long v) | |
+{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <limits.h> | |
#include <time.h> | |
int main() | |
{ | |
time_t lo = 0x0, hi = LONG_MAX, mid; | |
while (lo < hi) { | |
mid = lo + (hi-lo)/2; | |
if (ctime(&mid)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
#include <signal.h> | |
#include <unistd.h> | |
#include <sys/time.h> | |
#define INTERVAL 50000 | |
#define SAMPLES 200 | |
int sleep_interval[SAMPLES]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/golang/protobuf/proto" | |
pb "github.com/taskgraph/taskgraph/example/bwmf/proto" | |
"io/ioutil" | |
"os" | |
"strconv" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/golang/protobuf/proto" | |
pb "github.com/taskgraph/taskgraph/example/bwmf/proto" | |
"io/ioutil" | |
"os" | |
"strconv" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 1.2167709e+06 | |
0 1.2224444e+06 | |
0 1.2307871e+06 | |
0 1.260106e+06 | |
1 27401.582 | |
1 33980.64 | |
1 34229.844 | |
1 34920.914 | |
2 20299.98 | |
2 24624.56 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
etcd is running on localhost:4001 | |
=== RUN TestBWMF | |
2015/04/21 14:10:32 controller.go:45: Controller starting, name: bwmf_basic_test, numberOfTask: 1 | |
2015/04/21 14:10:32 healthy.go:65: got free task [/bwmf_basic_test/freeTasks/0], randomly choose 0 to try... | |
2015/04/21 14:10:32 bootstrap.go:171: standby grabbed free task 0 | |
task 0: 2015/04/21 14:10:32 bootstrap.go:60: starting at epoch 0 | |
task 0: 2015/04/21 14:10:32 bootstrap.go:85: framework starts to run | |
2015/04/21 14:10:32 bwmf_task.go:241: doEnterEpoch, task 0, epoch 0 | |
task 0: 2015/04/21 14:10:32 data_request.go:141: serving grpc on 127.0.0.1:63006 | |
task 0: 2015/04/21 14:10:32 data_request.go:101: data request /proto.BlockData/GetDShard to task 0, addr 127.0.0.1:63006 |