mirror of
https://github.com/clearlinux/make-fmv-patch.git
synced 2026-09-05 13:22:05 +00:00
Add support for cpp files with test examples
Fix https://github.com/clearlinux/make-fmv-patch/issues/2 Signed-off-by: Victor Rodriguez <victor.rodriguez.bahena@intel.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
#define MAX 1000000
|
||||
|
||||
static struct timeval tm1;
|
||||
int a[256], b[256], c[256];
|
||||
|
||||
void foo();
|
||||
|
||||
int main(){
|
||||
foo();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void foo(){
|
||||
int i,x;
|
||||
for (x=0; x<MAX; x++){
|
||||
for (i=0; i<256; i++){
|
||||
a[i] = b[i] + c[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user