Commit graph

579 commits

Author SHA1 Message Date
balandi1
2fa3bebaa6 Removed dummy head logger
Replaced dummy head logger instance with ConsoleLogger
instance in the chain.
2019-11-26 13:54:02 -05:00
balandi1
c66afa62b2 Code refactoring
Removed lmt usage in base.go.
Removed unneccessary fmt.Sprintf() usage.
2019-11-26 13:40:37 -05:00
balandi1
bb8c0a79d6 Minor code improvements
Removed commented code. Resolved spacing issue in yaml.
2019-11-26 13:19:15 -05:00
balandi1
24dbbb208f Flag for Logger Config yaml file name
Removed yaml filename from env.go and added its flag to scheduler.go
2019-11-26 13:08:45 -05:00
balandi1
ef6d154d06 Refactoring Code
Renamed PcpLogger, SetLogFile(), LogFileName. Changed error messages in loggerConfig.
2019-11-26 12:48:48 -05:00
balandi1
370a490643 Code Refactoring and modifications 2019-11-21 18:04:59 -05:00
balandi1
eaac82ceb9 Few code improvements and refactoring 2019-11-21 15:26:57 -05:00
balandi1
cb5df9acc8 Removed ERROR, GENERAL, SUCCESS, WARNING log types 2019-11-21 14:58:14 -05:00
balandi1
268df3cd51 Changed alias for elektronLogging to elekLog 2019-11-21 14:35:20 -05:00
balandi1
270c8669e6 Revert previous commit. Renamed wrong alias 2019-11-21 14:12:53 -05:00
balandi1
9952b9861d Renamed alias log to elekLog 2019-11-21 14:02:47 -05:00
balandi1
7996240b2e Encapsulated log directory name into a struct 2019-11-21 13:47:22 -05:00
balandi1
13c3de44be Changed alias elekLogT to elekLogTypes 2019-11-21 13:05:52 -05:00
balandi1
20f2f1e8c5 Used string join at neccesary places. Removed unused code 2019-11-20 16:11:33 -05:00
balandi1
4d15e59d4c Code formatting 2019-11-20 13:33:46 -05:00
balandi1
ef8bd6ac1f Fixed minor bug 2019-11-13 16:16:58 -05:00
balandi1
cef6efee33 Deleted the unused logging library 2019-11-13 16:10:19 -05:00
balandi1
40efeca04b Replaced old usage with new library 2019-11-13 15:37:55 -05:00
balandi1
c27aba895b Changes made everywhere inorder to use elektronLogging library for logging 2019-11-13 14:08:52 -05:00
balandi1
b501054412 Changes made everywhere inorder to use elektron logging library for logging 2019-11-13 14:04:21 -05:00
balandi1
1fd6c7e4f4 Initial elektromLogging library 2019-11-13 11:19:04 -05:00
PRADYUMNA KAUSHIK
e3caa90c31
Refactor imports, Add vendor/ as submodule (#5)
refact imports to github.xxx. update go.mod + go.sum

* removed vendor/ folder

* Added vendor/ submodule.

Moved dependencies that need to be vendored into separate repository.
	- https://github.com/spdfg/elektron-vendor
Added vendor/ as a submodule using the below command.
	- git submodule add https://github.com/spdfg/elektron-vendor vendor
If wanting to use vendor, run the following commands after cloning
elektron.
1. git submodule init
2. git submodule update

* added instructions to clone vendor/ submodule.

* updated module to spdfg. Refactored imports
2019-10-31 14:32:46 -04:00
PRADYUMNA KAUSHIK
b4975900f6
removed branch specifics from badge. 2019-10-25 13:43:53 -04:00
PRADYUMNA KAUSHIK
079ade2244
Added github workflow status badge. (#12) 2019-10-25 13:39:28 -04:00
PRADYUMNA KAUSHIK
aa7dbb9f88
removed CONTRIBUTORS file. (#11) 2019-10-25 01:49:50 -04:00
PRADYUMNA KAUSHIK
0d7aef9517
removed 'developers' from elektron description. (#10) 2019-10-25 01:49:36 -04:00
PRADYUMNA KAUSHIK
3a340a06ec
removed gitlab-ci.yml from project. (#8) 2019-10-25 01:48:57 -04:00
PRADYUMNA KAUSHIK
f3b92ea4eb
setup build and test workflow actions (#6)
setup build and test workflow actions

Included actions yaml file to build and test code upon push/pull-request to master.
2019-10-25 00:03:40 -04:00
Pradyumna Kaushik
26f96f361f Merge branch 'issues/issues-10-unit-tests-pcp-module' into 'master'
unit tests for pcp module

See merge request spdf/elektron!6
2019-10-24 20:07:17 +00:00
Pradyumna Kaushik
91e06fab4f Unit testing for pcp module.
Added unit tests to test code in def/ module.
Currently, AverageNodePowerHistory(...) assumes that the DRAM power
readings are being monitored. In addition, it also assumes that the
host servers are dual socket machines. However, this assumption might
not always hold true. Thus, added a TODO to fix this.
2019-10-24 20:07:17 +00:00
Pradyumna Kaushik
b27966dc3a Merge branch 'issues/issues-8-unit-tests-def-module' into 'master'
unit tests def/ module and update vendor

See merge request spdf/elektron!4
2019-10-12 06:48:46 +00:00
Pradyumna Kaushik
bac60e872a Unit testing for def/ module.
Added unit tests to test code in def/ module.
2019-10-12 06:48:45 +00:00
Pradyumna Kaushik
e24b8a08c9 Merge branch 'issues/issues-6-switch-to-go-modules' into 'master'
switch to go modules

See merge request spdf/elektron!2
2019-10-02 00:21:21 +00:00
Pradyumna Kaushik
4fbbf91b00 Switch to go modules for dependency management.
Added support for dependency management using go modules.
Note that Go version 1.11+ is required if using go modules for
dependency management.

Updated the gitlab CI yaml file to use go modules instead of copying
everything to GOPATH. Ran go mod download before running build script to
download all dependencies into cache.
2019-10-02 00:21:21 +00:00
Pradyumna Kaushik
fca8887adf Merge branch 'master' into 'master'
Fix: create log dir after validating cmdline args.

See merge request spdf/elektron!1
2018-11-13 00:12:15 +00:00
Pradyumna Kaushik
cfbb2f4bdd Fix: create log dir after validating cmdline args.
Initialization of the logger happens after all the command-line
arguments are validated. So, in case any of the command-line
arguments were invalid, the log directory is not created.
Retrofitted the driver code and the scheduler builder to only use
the language provided 'log' package as elektron's logger will not
yet be initialized.
2018-11-08 20:07:06 -05:00
Renan DelValle
97253ec4af
Adding CI build badge. 2018-11-03 11:04:21 -07:00
Renan DelValle
fba48e1d4d
First attempt at adding a CI. 2018-11-03 11:01:32 -07:00
Renan DelValle
66c2e147e2
Adding links for research papers published using Elektron 2018-11-02 21:51:57 -07:00
Renan DelValle
b162289388
Adding published research to readme. 2018-10-08 12:17:47 -07:00
Renan DelValle
291f4f3979
Adding GPLv3 Licensing. 2018-10-06 20:03:14 -07:00
Pradyumna Kaushik
943f20cb1e Removed value type from option description. 2018-10-05 23:19:44 -04:00
Pradyumna Kaushik
b61f4f2525 fixed merge conflicts due to commit amend. 2018-10-05 23:16:50 -04:00
Pradyumna Kaushik
5ce48e8dd8 -h instead of --help. Added full stop to sentence. 2018-10-05 23:16:01 -04:00
Pradyumna Kaushik
5bd232d798 -h instead of --help. 2018-10-05 23:15:36 -04:00
Pradyumna Kaushik
91c49292ea Changed Usage to Features for semantics. 2018-10-05 23:13:36 -04:00
Pradyumna Kaushik
6549f8c13c Escape underscore. Changed 'scheduling' to 'sched' in format. 2018-10-05 23:06:04 -04:00
Pradyumna Kaushik
f3a1501e6e Description for task classification overhead logs. 2018-10-05 23:05:01 -04:00
Pradyumna Kaushik
f5b2ba789c Description for scheduling window logs. 2018-10-05 23:04:44 -04:00
Pradyumna Kaushik
9a4470fd16 Description for scheduling policy switch trace. 2018-10-05 22:49:23 -04:00