char temp2[STRLEN];

for (int i = 0; i < LOOP_COUNT; ++i)

{

begin1 = __rdtsc();

len1 = strlen(temp);

end1 = __rdtsc();

//temp[LEN] = 0;

temp2[LEN] = 0;

begin2 = __rdtsc();

len2 = strlen_ex(temp);

end2 = __rdtsc();

//temp[LEN] = 0;

temp2[LEN] = 0;

if (end1 - begin1 < min1) min1 = end1 - begin1;

if (end2 - begin2 < min2) min2 = end2 - begin2;

}


이런식으로 특정 코드가 안들어가면 strlen이 0이 나옵니다.

이것은 어떤 의미인가요?