trick/trick_source/sim_services/Sie
Alex Lin 02f7203597
Possible speedup for requesting sie file #1555 (#1570)
* Possible speedup for requesting sie file #1555

When creating the sie file there is a marker string that Trick searches
for where it writes the run time allocated memory.  The loop that was
searching for the string was iterating one character at a time and reading
from file each time.  This was slow.  Changed the loop to read 1Mb into
memory at a time and search for the string.  Handled the case where the
marker string could straddle the 1Mb boundary by copying a small portion
of the previous part of the file for the next search.  For my one test
point sie file generation dropped from 90+ seconds to 3.5 seconds.

* Possible speedup for requesting sie file #1555

Math was wrong on some offset values.  Fixed them now.

* Possible speedup for requesting sie file #1555

The mac won't allow me to declare a "char buff[1000001];".  It compiles
but throws an exception when run.  Changed it to "char *buff = new char[1000001];"
2023-09-15 07:54:29 -05:00
..
AttributesMap.cpp create S_sie.json 2019-09-09 10:56:02 -05:00
EnumAttributesMap.cpp create S_sie.json 2019-09-09 10:56:02 -05:00
Makefile require c++11 for trick_source/sie 2019-10-31 09:51:24 -05:00
Makefile_deps Use udunits package for units conversions 2016-05-17 09:01:37 -05:00
sie_c_intf.cpp Allow for read only S_sie.resource (#1420) 2023-04-17 17:23:48 -05:00
Sie.cpp Possible speedup for requesting sie file #1555 (#1570) 2023-09-15 07:54:29 -05:00