nkanderson / ECE585-llc

Simulation of a last level cache (LLC) for ECE 585 final project
1 stars 0 forks source link

Config file for basic cache settings #5

Closed reecewayt closed 3 weeks ago

reecewayt commented 3 weeks ago

These settings in a json file config.json . It can be used to update or change attributes of our cache classes.

nkanderson commented 3 weeks ago

It just occurred to me that a .env file might be the more natural approach for this. That would allow use to have a file where we specify values, but those values could also be overridden by env vars.

reecewayt commented 3 weeks ago

Oh good call, I'll look into using .env files then.

d-engler commented 3 weeks ago

I'd definitely vote for anything that's not json.

reecewayt commented 3 weeks ago

Issue done. See .env in the root directory and CacheConfig class for details (src/config/cache_config.py)

reecewayt commented 3 weeks ago

Issue done. See .env in the root directory and CacheConfig class for details (src/config/cache_config.py)