Commit Graph

71 Commits

Author SHA1 Message Date
389a494bfc Ensure clang-format doesn't change the include order of Windows headers 2023-09-24 18:46:14 +01:00
f18ecde7bc Add support for probing page fault behaviour on Windows 2023-09-24 17:35:23 +01:00
9104a41e2d Start probing page fault behaviour 2023-09-24 17:15:22 +01:00
7ce7101240 Add page fault stats to repetition tester 2023-09-23 23:55:46 +01:00
dca94a0edf Restructure of repetition tester 2023-09-23 23:06:38 +01:00
b7d33de2d7 Update comment 2023-09-23 22:44:13 +01:00
b1b90bc6f5 Change the testing function so it doesn't reallocate the main buffer 2023-09-18 22:28:48 +01:00
3a0917ed58 Test reading with and without malloc 2023-09-10 00:39:49 +01:00
4b905a56a5 Update .gitignore 2023-09-09 21:26:45 +01:00
967b1524d7 Update compile script 2023-09-09 21:26:35 +01:00
ab99d4b003 Update parser.c 2023-09-09 21:26:22 +01:00
22466ea56f Add time_in_seconds function 2023-09-09 21:25:57 +01:00
9ddb991b94 Basic repetition testing implementation 2023-09-09 21:25:32 +01:00
1bfc162845 Update profiler output 2023-09-03 00:35:58 +01:00
e461de30c0 Add data throughput calculation 2023-09-03 00:26:30 +01:00
19c02b4e99 Update the profiler to allow for different level of profiling 2023-07-23 16:36:21 +01:00
0e973feb38 Include the IDs from the update location 2023-07-23 16:36:07 +01:00
3af3a72472 Move the IDs to the processor 2023-07-23 16:35:35 +01:00
8e17765774 Update the timer to properly handle recursion and deep call stacks 2023-07-23 14:21:47 +01:00
f8cd7d253e Update .gitignore 2023-07-23 14:21:26 +01:00
46bc7e03a4 Add debug config for timer_test 2023-07-23 14:21:11 +01:00
419a7c8534 Ensure compile is executable 2023-07-23 11:33:07 +01:00
2d74f02138 Use the updated free_json and profile it 2023-07-12 00:45:29 +01:00
0360a2da35 Compile json code with profiler when profiling is enabled 2023-07-09 22:16:16 +01:00
43ec97378c Use numerical IDs for the profiler 2023-07-09 22:15:53 +01:00
e17ca4d3d2 Update debug config 2023-07-09 22:15:31 +01:00
6b9a7ab8a5 Update the timer code to support profiling loops and recursive functions 2023-07-09 22:13:06 +01:00
a118afaffb Add profiling code to the json parser 2023-07-09 22:12:32 +01:00
f11d4481a2 Add extra checks for NULL pointers 2023-07-09 22:11:32 +01:00
5e84e270bc Added macros for profiling functions and made it possible to compile the
profiling code out
2023-07-09 04:01:56 +01:00
c053d20a8f Use sample_start and sample_end pairs instead of the PROFILER_SAMPLE
macro
2023-07-09 01:52:16 +01:00
0073114723 Refactor profiling code 2023-07-09 00:55:22 +01:00
2e9c2dc6d5 Use profiling functions to time the haversine processor 2023-07-03 22:46:24 +01:00
f0380ce638 Added profiling functions 2023-07-03 22:46:10 +01:00
25d38c24b1 Update build files 2023-07-02 21:57:05 +01:00
99063fc700 Create the processor 2023-07-02 20:56:25 +01:00
6b27c86a18 Make sum a double instead of integer 2023-07-02 20:56:02 +01:00
1bb16971b2 Read the json file into a dynamically-allocated array to avoid stack
overflow
2023-07-02 20:55:31 +01:00
09ed32e41a Write the pairs to json with better precision 2023-07-02 20:55:08 +01:00
31d02aff8c Move EARTH_RADIUS_KM to haversine.h 2023-07-02 19:58:47 +01:00
d284a7edc8 Update .gitignore 2023-07-02 19:29:44 +01:00
9a686a2692 Add the json parser 2023-07-02 19:29:32 +01:00
10f1d5686e Update the compilation process 2023-07-02 19:29:05 +01:00
50f881c655 Reorganise the project 2023-07-02 19:28:48 +01:00
301ea44759 Remove parser binary from version control 2023-06-11 02:15:43 +01:00
c75e51aa3e Reorganise and start working on the json parser 2023-06-11 02:14:41 +01:00
5ff93f61d7 Switch to using argp 2023-05-29 19:49:49 +01:00
5c742fe1f7 Implement haversine generator 2023-05-28 23:29:56 +01:00
66aa3500d6 Rename haversine to haversine_01 2023-05-28 23:29:56 +01:00
2900e508a1 Completed homework for 8086 simulator 2023-04-16 14:29:54 -07:00