Skip to content

Commit

Permalink
Merge pull request gwAdvNet2015#68 from SMonaghan/master
Browse files Browse the repository at this point in the history
Added author headers in timer and hist
  • Loading branch information
phil-lopreiato committed Apr 29, 2015
2 parents 52b7b34 + b2b6d65 commit 1838bff
Show file tree
Hide file tree
Showing 11 changed files with 124 additions and 14 deletions.
12 changes: 12 additions & 0 deletions common.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Phil Lopreiato, Stephen Monaghan,
* Neel Shah, Eric Armbrust
*
* This program is licensed under the MIT license.
*
* common.h - Used to enable verbose print.
*************************************************/

#ifndef __COMMON_H__
#define __COMMON_H__

Expand Down
12 changes: 12 additions & 0 deletions lib/histogram/hist.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Jongmin Bae, Stephen Monaghan
*
* This program is licensed under the MIT license.
*
* hist.h - Implements a historgram to be used with
* timer utility
*************************************************/

#include <stdlib.h>
#include <stdio.h>

Expand Down
12 changes: 12 additions & 0 deletions lib/linkedlist/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#/************************************************
#* GW KV
#* https://github.com/gwAdvNet2015/gw-kv-store
#*
#* Copyright 2015 Phil Lopreiato, Neel Shah,
#* Eric Armbrust
#*
#* This program is licensed under the MIT license.
#*
#* Makefile - Compiles the linked list
#*************************************************/

#Use the gcc compiler
CC = gcc
CFLAGS = -std=c99 -pedantic -Wall
Expand Down
14 changes: 9 additions & 5 deletions lib/linkedlist/linkedlist.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
/*
* Copyright (c) 2014 Phil Lopreiato, Neel Shah, Eric Armbrust
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Phil Lopreiato, Neel Shah,
* Eric Armbrust
*
* This program is licensed under the MIT license.
* You should have recieved a copy of the full license terms
* with this source code. If not, you can find it here: http://opensource.org/licenses/MIT
*/
*
* linkedlist.c -Implements a linked list
*************************************************/

#include <stdlib.h>
#include <stdio.h>
Expand Down
15 changes: 10 additions & 5 deletions lib/linkedlist/linkedlist.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
/*
* Copyright (c) 2014 Phil Lopreiato, Neel Shah, Eric Armbrust
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Phil Lopreiato, Neel Shah,
* Eric Armbrust
*
* This program is licensed under the MIT license.
* You should have recieved a copy of the full license terms
* with this source code. If not, you can find it here: http://opensource.org/licenses/MIT
*/
*
* linkedlist.h - Declares the functions for
* linkedlist.c
*************************************************/

#ifndef FILE_LINKEDLIST
#define FILE_LINKEDLIST
Expand Down
12 changes: 12 additions & 0 deletions lib/linkedlist/test/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#/************************************************
#* GW KV
#* https://github.com/gwAdvNet2015/gw-kv-store
#*
#* Copyright 2015 Phil Lopreiato, Neel Shah,
#* Eric Armbrust
#*
#* This program is licensed under the MIT license.
#*
#* Makefile - Compiles the linked list test file
#*************************************************/

CC = gcc
CFLAGS = -std=c99 -Wall -pedantic
DEPS = ../linkedlist.o
Expand Down
15 changes: 11 additions & 4 deletions lib/linkedlist/test/test-ll.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
/*
* Phil Lopreiato, Neel Shah, Eric Armbrust
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Functions to test linked list
*/
* Copyright 2015 Author 1, Author 2,
* Author 3, Author 4
*
* This program is licensed under the MIT license.
*
* test-ll.c - Functions to test linked list
*************************************************/


#include <stdlib.h>
#include <stdio.h>
Expand Down
12 changes: 12 additions & 0 deletions lib/socket_helper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Tim Wood
*
* This program is licensed under the MIT license.
*
* socket_helper.h - A library to simplify setting
* up sockets.
*************************************************/

#ifndef FILE_SOCKET_HELPER
#define FILE_SOCKET_HELPER

Expand Down
11 changes: 11 additions & 0 deletions lib/timer/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#/************************************************
#* GW KV
#* https://github.com/gwAdvNet2015/gw-kv-store
#*
#* Copyright 2015 Stephen Monaghan, Jongmin Bae
#*
#* This program is licensed under the MIT license.
#*
#* Makefile - Compiles the timer utility test
#*************************************************/

OBJS=test.o
CFLAGS= -I. -w
#DEFINES=-DTHINK_TIME
Expand Down
11 changes: 11 additions & 0 deletions lib/timer/test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Jongmin Bae, Stephen Monaghan
*
* This program is licensed under the MIT license.
*
* test.c - Tests the timer utility
*************************************************/

#include <stdint.h>
#include <sys/time.h>
#include <stdio.h>
Expand Down
12 changes: 12 additions & 0 deletions lib/timer/timer_util.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/************************************************
* GW KV
* https://github.com/gwAdvNet2015/gw-kv-store
*
* Copyright 2015 Jongmin Bae, Stephen Monaghan
*
* This program is licensed under the MIT license.
*
* timer_util.h - Implements a timer utility to
* test performance
*************************************************/

#include <stdint.h>
#include <sys/time.h>
#include <stdlib.h>
Expand Down

0 comments on commit 1838bff

Please sign in to comment.