mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 14:13:45 -04:00
tests: parallelize offline-test execution (#1974)
The offline-tests are going to end up taking too long for jak 2, I did some rough math and by the end of it we'll be spending almost 2 minutes for a full offline test on my machine. These changes allow us to throw hardware at the problem Still some work to do to make the output nicer, but seems to be fairly reliable. By default it still uses 1 thread, use `num_threads` to change this.
This commit is contained in:
@@ -172,6 +172,12 @@ class ObjectFileDB {
|
||||
bool disassemble_code,
|
||||
bool print_hex);
|
||||
|
||||
void process_object_file_data(
|
||||
ObjectFileData& data,
|
||||
const fs::path& output_dir,
|
||||
const Config& config,
|
||||
const std::unordered_set<std::string>& skip_functions,
|
||||
const std::unordered_map<std::string, std::unordered_set<std::string>>& skip_states);
|
||||
void analyze_functions_ir2(
|
||||
const fs::path& output_dir,
|
||||
const Config& config,
|
||||
|
||||
Reference in New Issue
Block a user