Skip to content

EMB2.0: Automatic stdlib size overhead adjustment #191

Description

@I-mikan-I

We try to subtract the size overhead for libraries, startup files, crt when calculating the size of benchmarks.
Currently this is done as follows:

  • Each benchmark is linked against "dummy" libraries that are empty
  • The size of the executable elf is calculated by summing up certain sections

Issues with the current approach

  • Crt/startup files may still be linked to the final executable
  • requires a user to specify dummy files for any user libraries

New approach (planned for embench-iot 2.0)

  • Compile a "dummy benchmark", which is empty and gets linked with support files/libraries
  • Compute the size of said dummy and subtract it from each benchmark when computing the size.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions