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
/* This file provides basic function to synchronize multiple processes using | |
* System V Semaphores. It uses semaphore id 786 so please make sure none of | |
* your benchmarks uses that ID. */ | |
#ifndef SEM_HELPER_H | |
#define SEM_HELPER_H | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
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
/* | |
* checkpoint_after.c | |
* | |
* Create a checkpoint after Specifiec amount of user-level-instructions. | |
* | |
* Usage: ./checkpoint_after N CHK_NAME | |
* N Number of user-level-instructions to fast-forward | |
* CHK_NAME Name of checkpoint | |
* | |
* To change instruction counting from user level to all, in line 36 change |
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
#!/usr/bin/env Rscript | |
# First read in the file | |
args <- commandArgs(trailingOnly=TRUE) | |
# print(args) | |
# Arguments are like following: | |
# Operation output_file <operation specific #options...> | |
# Create a png image |