dataPrimSq = Import["/Users/oleg/Lab3ProcessingTmp/PrimLog/MainLogSquare.csv"];
dataPrimTh = Import["/Users/oleg/Lab3ProcessingTmp/PrimLog/MainLogThousand.csv"];

dataBorSq = Import["/Users/oleg/Lab3ProcessingTmp/BoruvkaLog/MainLogSquare.csv"];
dataBorTh = Import["/Users/oleg/Lab3ProcessingTmp/BoruvkaLog/MainLogThousand.csv"];
f = Function[{u}, {u[[2]], u[[1]]/10^9}];

ListLinePlot[f  /@ dataBorSq]
ListLinePlot[f /@ dataBorTh]
ListLinePlot[f /@ dataPrimSq]
ListLinePlot[f /@ dataPrimTh]