Searched refs:ramsizeMB (Results 1 – 1 of 1) sorted by relevance
159 static void stressone(unsigned long long ramsizeMB) in stressone() argument162 g_autofree char *ram = g_malloc(ramsizeMB * 1024 * 1024); in stressone()175 memset(ram, 0xfe, ramsizeMB * 1024 * 1024); in stressone()186 for (i = 0; i < ramsizeMB; i++, nMB++) { in stressone()210 unsigned long long ramsizeMB = *(unsigned long long *)arg; in stressthread() local212 stressone(ramsizeMB); in stressthread()220 unsigned long long ramsizeMB = ramsizeGB * 1024 / ncpus; in stress() local226 stressthread, &ramsizeMB); in stress()229 stressone(ramsizeMB); in stress()