xref: /aosp_15_r20/external/toolchain-utils/bestflags/examples/omnetpp/README.md (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1*760c253cSXin Li# `omnetpp`
2*760c253cSXin Li
3*760c253cSXin LiThis directory contains the omnetpp example in SPEC2006 benchmark.
4*760c253cSXin Li
5*760c253cSXin LiIt also contains the json configuration file which includes the meta data
6*760c253cSXin Liinformation to run the experiment.
7*760c253cSXin Li
8*760c253cSXin LiThis directory contains a build file `build_omnetpp` which is used by the build
9*760c253cSXin Limodule of the framework to compile the application.
10*760c253cSXin LiThis directory contains a test file `test_omnetpp` which is used by the test
11*760c253cSXin Limodule of the framework to benchmark the optimization compilation.
12*760c253cSXin LiThis directory contains a conf file which includes the set of optimization flags
13*760c253cSXin Lithe experiment will try.
14*760c253cSXin Li
15*760c253cSXin LiTo use this direction, first gives the file the executable permission.
16*760c253cSXin Li
17*760c253cSXin Li```
18*760c253cSXin Lichmod a+x build_bikjmp
19*760c253cSXin Lichmod a+x test_bikjmp
20*760c253cSXin Li```
21*760c253cSXin Li
22*760c253cSXin LiCopy the SPEC2006 benchmark into this directory.
23*760c253cSXin Li
24*760c253cSXin LiTo run, invoke the `example_algorithm.py` in the parent directory.
25*760c253cSXin Li
26*760c253cSXin Li```
27*760c253cSXin Lipython example_algorithms.py --file=examples/omnetpp/example.json
28*760c253cSXin Li```
29*760c253cSXin Li
30*760c253cSXin LiFor help,
31*760c253cSXin Li
32*760c253cSXin Li```
33*760c253cSXin Lipython example_algorithms.py --help
34*760c253cSXin Li```
35