This file contains hidden or 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
#!/bin/bash | |
set -x | |
set -e | |
set -u | |
CEPHDIR=$1 | |
DATA=${2:-} | |
JRNL=${3:-} | |
NODE=`hostname` |
This file contains hidden or 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
/* | |
* Single task, one mapping. | |
*/ | |
#include "legion.h" | |
using namespace LegionRuntime::HighLevel; | |
using namespace LegionRuntime::Accessor; | |
enum TaskIDs { | |
TOP_LEVEL_TASK_ID, |
This file contains hidden or 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
def deepest_array(array, index): | |
sub_array = array[index[0]] | |
for component in index[1:-1]: | |
sub_array = sub_array[component] | |
return sub_array | |
def get_val(array, index): | |
return deepest_array(array, index)[index[-1]] | |
def set_val(array, index, value): |
This file contains hidden or 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
commit 873b53923069d5dc50b0a54348987a48e1b7a7ba | |
Author: Noah Watkins <[email protected]> | |
Date: Fri May 30 14:13:12 2014 -0700 | |
tracing: bootstrap lttng-ust with mutex events | |
See src/tracing/README.md | |
Signed-off-by: Noah Watkins <[email protected]> |
This file contains hidden or 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 <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <getopt.h> | |
#include <netcdf.h> |
This file contains hidden or 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 3.9.0 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" | |
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" |
This file contains hidden or 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
import re | |
import argparse | |
class PGDumpParser(object): | |
_OSDS = r'\[(?P<up>.+)\].*\[(?P<acting>.+)\]' | |
_PGSTAT = r'(?P<pool>\d+)\.(?P<pg>\d+)' | |
_PGINFO = r'^%s.*%s.*$' % (_PGSTAT, _OSDS) | |
_PGINFO_RE = re.compile(_PGINFO) | |
@staticmethod |
This file contains hidden or 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/lua_rados.cc b/lua_rados.cc | |
index 33a7ab7..d48d525 100644 | |
--- a/lua_rados.cc | |
+++ b/lua_rados.cc | |
@@ -19,6 +19,8 @@ | |
#define LRAD_TIOCTX_T "Rados.IoctxT" | |
#define LRAD_BL_T "Rados.Bufferlist" | |
+static char reg_key_rados_refs; | |
+ |
This file contains hidden or 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
CC=gcc | |
CFLAGS=-Wall | |
kaio-workload:%: %.c | |
$(CC) $(CFLAGS) -o $@ $< -laio | |
clean: | |
rm -f *.o kaio-workload |
NewerOlder