Commit Graph

58 Commits

Author SHA1 Message Date
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
60538301d5 Defined mem_start 2023-04-15 23:11:10 -07:00
e9d7a608f0 Removed the binary from source control 2023-04-15 23:10:08 -07:00
d980153185 Read the instructions into simulated memory instead of separate buffer 2023-04-15 23:08:14 -07:00
90128fae8f Added sim86 binary to .gitignore 2023-04-15 23:07:08 -07:00
c320371432 Completed add, sub, cmp and jump simulations 2023-04-08 19:26:31 +01:00
43c748e0c5 Clean the repo of unnecessary files 2023-03-29 22:56:04 +01:00
904c398911 Completed the first 8086 simulation homework 2023-03-29 22:47:59 +01:00
416df979cf Removed the binaries 2023-03-29 22:47:23 +01:00
96d1381303 Started implementing the 8086 simulation 2023-03-29 01:28:37 +01:00
732aa2803f Update 2023-03-19 23:22:18 +00:00
b3eb9b99c7 Completed homework for decoding add, sub, cmp and jump instructions 2023-03-12 17:29:49 +00:00
620f9e0daa Completed decoding the challenging mov instructions 2023-03-11 19:50:09 +00:00
e223314349 Decode more variations of mov instruction 2023-03-08 23:48:03 +00:00