私はこの機能を持っています:
void Estatisticas::iniciarTempo() {
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &tempoInicial);
}
ctime で clock_gettime を使用しようとしていますが、いくつかのエラーが発生します。
「「clock_gettime」への未定義の参照」
どうもありがとう。
私はこの機能を持っています:
void Estatisticas::iniciarTempo() {
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &tempoInicial);
}
ctime で clock_gettime を使用しようとしていますが、いくつかのエラーが発生します。
「「clock_gettime」への未定義の参照」
どうもありがとう。