Skip to content

Commit

Permalink
now also storing GPU infos in log files (under windows and linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasWeise committed Feb 7, 2020
1 parent 323027f commit b50cf02
Show file tree
Hide file tree
Showing 4 changed files with 406 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ First, you need to add the following repository, which is a repository that can
```

Than you can add the dependency on our `aitoa-code` repository into your `dependencies` section.
Here, `0.8.25` is the current version of `aitoa-code`.
Here, `0.8.27` is the current version of `aitoa-code`.
Notice that you may have more dependencies in your `dependencies` section, say on `junit`, but here I just put the one for `aitoa-code` as example.

```xml
<dependencies>
<dependency>
<groupId>com.github.thomasWeise</groupId>
<artifactId>aitoa-code</artifactId>
<version>0.8.25</version>
<version>0.8.27</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>aitoa</groupId>
<artifactId>aitoa-code</artifactId>
<version>0.8.26</version>
<version>0.8.27</version>
<packaging>jar</packaging>
<name>aitoa-code</name>
<description>Example Source Codes from the Book "Introduction to Optimization Algorithms"</description>
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/aitoa/structure/LogFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,14 @@ public final class LogFormat {
/** the command line of the current process */
public static final String SYSTEM_INFO_PROCESS_COMMAND_LINE =
"PROCESS_COMMAND_LINE"; //$NON-NLS-1$
/** the command line of the GPU name */
public static final String SYSTEM_INFO_GPU_NAME = "GPU_NAME"; //$NON-NLS-1$
/** the command line of the GPU vendor id */
public static final String SYSTEM_INFO_GPU_PCI_VENDOR_ID =
"GPU_PCI_VENDOR_ID"; //$NON-NLS-1$
/** the command line of the GPU PCI id */
public static final String SYSTEM_INFO_GPU_PCI_DEVICE_ID =
"GPU_PCI_DEVICE_ID"; //$NON-NLS-1$

/** the key END_SYSTEM */
public static final String END_SYSTEM = "END_SYSTEM"; //$NON-NLS-1$
Expand Down
Loading

0 comments on commit b50cf02

Please sign in to comment.