-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
43 lines (27 loc) · 1.03 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Codegen
=======
A proof-of-concept implementation for a polymorphic stream-processing execution
engine.
Usage
=====
Build with
$ make demo
this will generate the 'demo' core engine which provides support for XML to C++
code generation as well as the flow to build and run one of the programs
defined within the XML descriptor.
To run a demo:
$ ./demo <xml_poduct>
Testing
=======
To profile timing for code generation a couple of simple Make targets have been
provided. The examples generate sample code, compile it, link it with the core
engine and jump to the program entry point.
Test examples are provided by XML files names build_N.xml where N = {100, 300, 1000}
is the number of program step to generate.
Run the tests with:
$ make test100 test300 test1000
NOTE: this profiling should be preferably done at a fixed CPU frequency.
On a Linux machine, the provided setfreq shell script could be used to set
the CPU governor to usermode and select one of the supported frequencies.
For example:
# ./setfreq.sh userspace 700000