- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whats the speed in kbit/s for the printf Command? I am using a Stratix III Board(NIOS II CPU).
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The question is unanswerable as it depends on too many outside factors such as:
1 - Processor speed 2 - What is the STDOUT device and it's speed 3 - What other things is the processor busy doing. Even knowing those numbers nobody is going to be able to estimate it for you. You'll just need to run some tests and measure it for your system. Relatively speaking, printf is slow. Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The next problem is (maybe that isnt problem): function printf take about 50kB of memory. So i use puts function and numbers retype to string. The final code is smaller. Under 20kB.
VK
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page