Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about imx7

Read more about imx7

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - imx7

Why does clock() returns -1 in C

I'm trying to implement an error handler using the clock() function from the "time.h" library. The code runs inside an embeeded system (Colibri IMX7 - M4 Processor). The function is used to ...
test-img

Victor Hugo Martins Marques

gcc

bare-metal

m4

arm-none-eabi-gcc

imx7

Votes: 0

Answers: 3

Latest Answer

To answer the second part of your question: static clock_t start_time = clock(); is not allowed because the return value of the function clock() is not known until runtime, but in C the initializer o...
test-img

Tom V

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved