Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 395
    • Issues 395
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !80

Extended Memory Optimisations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hans-Nikolai Viessmann requested to merge hans/sac2c:hans-emr into develop Oct 22, 2018
  • Overview 53
  • Commits 54
  • Changes 51

This MR adds the Extended Memory Reuse (EMR) related optimisations that effectively reduce the number of memory allocations by reusing memory from previously allocated hunks that are no longer referenced. This is achieved by extending the life-times of arrays within blocks. Additionally we are able to lift allocations out of the body of inner-most loops.

Further additions:

  • extended runtime profiler to collect memory-related metrics (runtime counts) - this is distinct from the PHM diagnostics output
  • minor fixes to some of the traversals in memory/
  • minor fixes to the tests framework

Some things still need doing

  • add tests
  • cleanup code
  • documentation
Edited Dec 13, 2018 by Hans-Nikolai Viessmann
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: hans-emr