Skip to content

Commit

Permalink
formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kozak committed Jan 11, 2024
1 parent ad5eeb6 commit f897669
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1701,10 +1701,10 @@ protected int buildImage(List<String> javaArgs, LinkedHashSet<Path> cp, LinkedHa
try {
p = pb.inheritIO().start();
imageBuilderPid = p.pid();
System.out.println("Pid of the image builder is " + imageBuilderPid);
var prophetPluginHome = Objects.requireNonNull(System.getenv("PROPHET_PLUGIN_HOME"),"PROPHET_PLUGIN_HOME not set");
Path.of(prophetPluginHome,"graal-prophet-utils","measure_rss.sh")
var rssWatcher = new ProcessBuilder().command("/Users/dkozak/Projects/graal-prophet/measure_rss.sh", imageBuilderPid + "").inheritIO().start();
System.out.println("PID of the image builder is " + imageBuilderPid);
var prophetPluginHome = Objects.requireNonNull(System.getenv("PROPHET_PLUGIN_HOME"), "PROPHET_PLUGIN_HOME not set");
var scriptPath = Path.of(prophetPluginHome, "graal-prophet-utils", "measure_rss.sh");
var rssWatcher = new ProcessBuilder().command(scriptPath.toString(), imageBuilderPid + "").inheritIO().start();
installImageBuilderCleanupHook(p);
var before = System.currentTimeMillis();
int resCode = p.waitFor();
Expand Down

0 comments on commit f897669

Please sign in to comment.