BenchmarkLevelQuality random result

Hi !

I made a quick function in c++ that gives me result of the gpu/cpu benchmarking

Scalability::FQualityLevels qual;
qual = Scalability::BenchmarkQualityLevels(10,1.0,1.0);
FQuality returnedvalue;
returnedvalue.AntiAliasingQual = qual.AntiAliasingQuality;
returnedvalue.ViewDistanceQual = qual.ViewDistanceQuality;
returnedvalue.EffectsQual = qual.EffectsQuality;
returnedvalue.PostProcessQual = qual.PostProcessQuality;
returnedvalue.ShadowQual = qual.ShadowQuality;
returnedvalue.TextureQual = qual.TextureQuality;
returnedvalue.FoliageQual = qual.FoliageQuality;
returnedvalue.BenchmarkResultGPU = qual.GPUBenchmarkResults;
returnedvalue.BenchmarkResultCPU = qual.CPUBenchmarkResults;

return returnedvalue;

But this result is either 0 or 2, it’s really random and the result change each time i use the function
Where’s theproblem is it from the function or this happen usually ? (i’m a c++ newb, i’m discovering it)

Thanks for advance and have a good day