summaryrefslogtreecommitdiffstats
path: root/SD-VBS/common/c/photonStartTiming.c
blob: 0d0b2b1ad730a5963b6d82b246d7d7c42422eb7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/********************************
Author: Sravanthi Kota Venkata
********************************/

/** C File **/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "timingUtils.h"
#include "sdvbs_common.h"

unsigned int* photonStartTiming()
{
	static unsigned int *array;

    array = (unsigned int*)malloc(sizeof(unsigned int)*2);
	magic_timing_begin(array[0], array[1]);
    return array;
}

/** End of C Code **/