Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows runtime settings + shared libraries #171

Open
jrmadsen opened this issue Mar 25, 2021 · 1 comment
Open

Windows runtime settings + shared libraries #171

jrmadsen opened this issue Mar 25, 2021 · 1 comment

Comments

@jrmadsen
Copy link
Collaborator

jrmadsen commented Mar 25, 2021

  • Following Use GetProcessIoCounters on windows for get_bytes written and read #169, google test has been re-enabled for Windows and a few tim::settings are being noted as not working in some places for an unknown reason.
  • This appears to be relatively isolated to only a couple settings not being "respected" properly. I.e. they are set but ignored for some reason.
  • For now, the testing is going to ignore these issues in order to get Use GetProcessIoCounters on windows for get_bytes written and read #169 merged
  • Known settings issues
    • when usingtim::settings::push<...>(), tim::settings::instance<...>() access method still refers to the original settings. Work-around: use the settings instance returned from push<...>()
    • runtime tim::settings::flat_profile() and tim::settings::timeline_profile() values are not respected when pushing/popping to storage. Work-around: using quirks (i.e. encoding flat/timeline at compile-time) works fine.
@jrmadsen
Copy link
Collaborator Author

@pwm1234-sri I suspect these issues are possibly related to Windows weird shared library linking, e.g. somehow these settings are referenced in an intermediate library and changing them in the exe updates a different set of symbols instantiated in the exe binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant