Commit f519e1d0 authored by Martin Khannouz's avatar Martin Khannouz Committed by Berenger Bramas

Fix post traiting issue.

When no value in global_time, it is replace by -1 and then removed from
the dataframe in some R script.
parent fe1ac6c4
......@@ -70,6 +70,7 @@ gen_normalized_time_plot <- function(db, d_breaks, model_wanted)
gen_normalized_time <- function(dbfile)
{
data <- get_data_subset(dbfile, 0L, 0L, "False", get_bsize_reference())
data <- subset(data, global_time >= 0)
all_model <- unique(data$model)
#Get all algorithm without the reference algorithm
all_algo <- unique(subset(data, algo != get_one_node_reference_algorithm())$algo)
......
......@@ -67,6 +67,7 @@ gen_pareff <- function(dbfile)
file <- paste(dbfile, sep="")
data <- get_data_subset(dbfile, 0L, 0L, "False", get_bsize_reference())
data <- subset(data, algo != get_one_node_reference_algorithm())
data <- subset(data, global_time >= 0)
all_model <- unique(data$model)
for (i in 1:length(all_model))
{
......
......@@ -33,6 +33,7 @@ gen_speed <- function(dbfile)
{
data <- get_data_subset(dbfile, 0L, 0L, "False", get_bsize_reference())
data <- subset(data, algo != get_one_node_reference_algorithm())
data <- subset(data, global_time >= 0)
all_model <- unique(data$model)
for (i in 1:length(all_model))
......
......@@ -54,6 +54,7 @@ gen_speedup <- function(dbfile)
{
data <- get_data_subset(dbfile, 0L, 0L, "False", get_bsize_reference())
data <- subset(data, algo != get_one_node_reference_algorithm())
data <- subset(data, global_time >= 0)
all_model <- unique(data$model)
for (i in 1:length(all_model))
......
......@@ -14,8 +14,8 @@ source("gen_group_size_plots.R")
###
print("Generate Communication volume plot")
gen_comm("loutre.db")
print("Generate Group size plot")
gen_group_size("loutre.db")
#print("Generate Group size plot")
#gen_group_size("loutre.db")
print("Generate Speed plot")
gen_speed("loutre.db")
#print("Generate times task plot")
......
......@@ -265,7 +265,7 @@ def main():
config=ScalFMMConfig()
rmem = 0
global_time = 0.0
global_time = -1.0
runtime_time = 0.0
task_time = 0.0
idle_time = 0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment