Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !145

x_old is now a x_diff since the last tree build. It is also implemented for the gparts.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matthieu Schaller requested to merge x_old into master Apr 08, 2016
  • Overview 3
  • Commits 1
  • Changes 7

Two changes here following the discussion in #122 (closed):

  • x_old is replaced by x_diff, i.e. the offset since the last tree-build. That makes the drift task a bit strange as they have to move x in one direction and x_diff in the other.
  • The gpart structure also gains an x_old field. This is necessary for the cases where we only have gparts and no parts. If we don't do this, the tree reconstruction is never triggered in engine_marktask().

A neat consequence is that we can store x_diff as float and not as double. So the xpart structure goes down to 32bytes in size (after alignment).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: x_old