aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* Fix wrong input format to databaseKarel Kočí2015-08-19
| | | | | add_measure in boot script was called with list of lines instead of single string.
* Fix utils.callsubprocess stdinKarel Kočí2015-08-19
|
* Fix boot.py parse callKarel Kočí2015-08-19
|
* Add message about what configuration is measuredKarel Kočí2015-08-19
|
* Remove unused atribute for parse script callKarel Kočí2015-08-19
|
* Fix type exception in kernel.configKarel Kočí2015-08-19
| | | | As name was given tempfile object no name of generated temporally file.
* Remove configuration folder creation from initializationKarel Kočí2015-08-19
| | | | This folder is no longer used and shouldn't be created.
* Store boot output to databaseKarel Kočí2015-08-19
| | | | | | | | | Because configuration is now stored in database only missing informations to make database fully descriptive is boot output. This makes output of boot command to be saved to database and not to file. Also parse script should read input from stdin and not from file from argument.
* Fix wrong exception excepted in configurations scriptKarel Kočí2015-08-18
|
* Write stderr to log file together with stdoutKarel Kočí2015-08-18
| | | | | | | Utils function callsubprocess now logs all program output including stderr. Convenient would be to print stderr even if output is disabled. But this would probably required threads.
* Fix database get_configsortKarel Kočí2015-08-18
| | | | | Previous implementation was returning list of tuples. Now it is returning list of strings.
* Fix database add_configsortKarel Kočí2015-08-18
| | | | No attribute supplied when executed sql command.
* Generate configuration as ditionary in picosat functionKarel Kočí2015-08-18
| | | | | | Picosat output is parsed and automatically is resolved to dictionary with configuration option name as key and boolean value. This makes all configurations in script of same type. All are dictionaries this way.
* Add drop command for configopt tableKarel Kočí2015-08-18
| | | | This table was recently added, but was missing in databaseclean.sql.
* Fix bug in wrong input type to CNF file generatorKarel Kočí2015-08-18
| | | | | | | This caused that instead of multiple numbers was parsed only one number including every single number character as separated number. Because of this was generated wrong CNF file and sometimes if zero was in number picosat failed with error.
* Fix kernel temporally file removalKarel Kočí2015-08-18
| | | | | Temporally file generated in kernel script during configuration applying wasn't closed/remove after end of usage.
* Generated configuration is now fully stored to databaseKarel Kočí2015-08-17
| | | | | | Managing configurations in files and in database could cause inconsistence. Adding all generated configurations to database allow us to clean project files without loosing data.
* Merge branch 'measuring'Karel Kočí2015-08-13
|\ | | | | | | | | | | Removing measuring branch. Idea was to make measuring configuration separate from master. But keeping changes in master and measuring branch consistent was pain.
| * Fix configuration generation missing file exceptionKarel Kočí2015-08-13
| | | | | | | | | | | | | | If generating single throw NoSolution exception, randomly generated CNF file is removed. But finally statement tries to remove it once again. Solution is to not remove CNF file in exception handling, but only by finally statement.
| * Merge branch 'master' into measuringKarel Kočí2015-08-13
| |\ | | | | | | | | | Pull generate_single fix.
| * \ Merge branch 'master' into measuringKarel Kočí2015-08-13
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: conf.py scripts/configurations.py
| * | | Fix thread cooperation in loopKarel Kočí2015-08-13
| | | | | | | | | | | | | | | | | | | | Measure function requires img and config as atributes. But only config was provided.
| * | | Implement random generation of configurationsKarel Kočí2015-08-13
| | | | | | | | | | | | | | | | | | | | Configuration are generated with random assumptions. This should generate different configuration for every SAT solver execution.
| * | | Change hash calculating functionKarel Kočí2015-08-13
| | | | | | | | | | | | | | | | | | | | | | | | Previous method of calculating hash wasn't work (wouldn't give same result for same configuration) if there would be added new configuration options to hashconfigsort file.
| * | | Catch NoApplicableConfiguration exception in prepare threadKarel Kočí2015-08-12
| | | |
| * | | Fix wrong configuration reading from databaseKarel Kočí2015-08-12
| | | |
| * | | Change folder to kernelKarel Kočí2015-08-12
| | | | | | | | | | | | | | | | As first will be measured only konfiguration options in kernel folder.
| * | | Fix bug in configurations loadingKarel Kočí2015-08-12
| | | | | | | | | | | | | | | | Loading configuration load all configuration options as True.
| * | | Fix problem with wrongly printed first line in CNF fileKarel Kočí2015-08-12
| | | |
| * | | Remove debud output of generated configurationKarel Kočí2015-08-12
| | | |
| * | | Fix if generated existing configurationKarel Kočí2015-08-12
| | | | | | | | | | | | | | | | | | | | When some generator tries to register already generated solution, it shouldn't be registered.
| * | | Fix bug in configuration.pyKarel Kočí2015-08-12
| | | | | | | | | | | | | | | | Type inserted to method is str, but threated as int.
| * | | Single configuration generation ensured to generate only singleKarel Kočí2015-08-12
| | | | | | | | | | | | | | | | configuration per execution
| * | | Add measure tool desription to databaseKarel Kočí2015-08-12
| | | |
| * | | Add parse_scriptKarel Kočí2015-08-12
| | | | | | | | | | | | | | | | Parsing maximal value from first thread as result.
| * | | Set conf.py and nbscript for measurementKarel Kočí2015-08-12
| | | |
* | | | Remove parse_kconfig from test runKarel Kočí2015-08-13
| |_|/ |/| | | | | | | | | | | Executing parse_kconfig in test run makes no sense and takes to much time.
* | | Fix single_generated_file writebackKarel Kočí2015-08-13
| |/ |/| | | | | | | measure_list containst ints. But method writelines can only be used with strings.
* | Fix generate single configurationKarel Kočí2015-08-13
| | | | | | | | | | This fixes and ensures that every call generates configuration. Unless False is returned.
* | Fix thread cooperation in loopKarel Kočí2015-08-13
| | | | | | | | | | Measure function requires img and config as atributes. But only config was provided.
* | Implement random generation of configurationsKarel Kočí2015-08-13
| | | | | | | | | | Configuration are generated with random assumptions. This should generate different configuration for every SAT solver execution.
* | Catch NoApplicableConfiguration exception in prepare threadKarel Kočí2015-08-13
| |
* | Fix wrong configuration reading from databaseKarel Kočí2015-08-13
| |
* | Fix bug in configurations loadingKarel Kočí2015-08-13
| | | | | | | | Loading configuration load all configuration options as True.
* | Fix problem with wrongly printed first line in CNF fileKarel Kočí2015-08-13
| |
* | Fix if generated existing configurationKarel Kočí2015-08-13
| | | | | | | | | | When some generator tries to register already generated solution, it shouldn't be registered.
* | Fix bug in configuration.pyKarel Kočí2015-08-13
| | | | | | | | Type inserted to method is str, but threated as int.
* | Add measure tool desription to databaseKarel Kočí2015-08-13
| |
* | Change hash calculating functionKarel Kočí2015-08-13
| | | | | | | | | | | | Previous method of calculating hash wasn't work (wouldn't give same result for same configuration) if there would be added new configuration options to hashconfigsort file.
* | Single configuration generation ensured to generate only singleKarel Kočí2015-08-12
|/ | | | configuration per execution