search for: run_host

Displaying 5 results from an estimated 5 matches for "run_host".

Did you mean: mon_host
2014 Sep 08
2
[LLVMdev] QEMU testing for LIT execution tests
...n' solution works for full Canadian cross testing (i.e. run lit on BUILD, clang/llvm/whatever on HOST, and the tests themselves on TARGET, where {BUILD,HOST,TARGET} are all different machines). This use case is of particular interest to me. I suppose %run could be renamed %run_target, add %run_host, and then have an implied no-op %run_build on commands that don't have %run_target or %run_host. Perhaps someone might want to have BUILD be a different machine than where LIT runs, in which case %run_build would have to be explicit (but I'm not really interested in that use case). Ch...
2014 Sep 08
2
[LLVMdev] QEMU testing for LIT execution tests
...t; full Canadian cross testing (i.e. run lit on BUILD, clang/llvm/whatever on >> HOST, and the tests themselves on TARGET, where {BUILD,HOST,TARGET} are all >> different machines). This use case is of particular interest to me. I >> suppose %run could be renamed %run_target, add %run_host, and then have an >> implied no-op %run_build on commands that don't have %run_target or >> %run_host. Perhaps someone might want to have BUILD be a different machine >> than where LIT runs, in which case %run_build would have to be explicit (but >> I'm not really in...
2014 Sep 08
2
[LLVMdev] QEMU testing for LIT execution tests
So I started prototyping remote testing for libcxx over the weekend: https://github.com/jroelofs/libcxx/tree/remote_test The SSHExecutor isn't quite finished yet, but this should give an idea of what I've got in mind. Does this look generic enough to work for other projects under the llvm-umbrella (LNT, test-suite, compiler_rt, libcxxabi, etc)? Are there use cases that you see
2016 Jan 21
1
[PATCH] tools/virtio: add ringtest utilities
...false)) + return; + r = 0; + } + } while (r == 0); + if (completed == completed_before) + ++spurious; + assert(completed <= bufs); + assert(started <= bufs); + if (do_sleep) { + if (enable_call()) + wait_for_call(); + } else { + poll_used(); + } + } +} + +static void run_host(void) +{ + int completed_before; + int completed = 0; + int spurious = 0; + int bufs = runcycles; + unsigned len; + void *buf; + + for (;;) { + if (do_sleep) { + if (enable_kick()) + wait_for_kick(); + } else { + poll_avail(); + } + if (do_sleep) + disable_kick(); + completed_before =...
2016 Jan 21
1
[PATCH] tools/virtio: add ringtest utilities
...false)) + return; + r = 0; + } + } while (r == 0); + if (completed == completed_before) + ++spurious; + assert(completed <= bufs); + assert(started <= bufs); + if (do_sleep) { + if (enable_call()) + wait_for_call(); + } else { + poll_used(); + } + } +} + +static void run_host(void) +{ + int completed_before; + int completed = 0; + int spurious = 0; + int bufs = runcycles; + unsigned len; + void *buf; + + for (;;) { + if (do_sleep) { + if (enable_kick()) + wait_for_kick(); + } else { + poll_avail(); + } + if (do_sleep) + disable_kick(); + completed_before =...