Log in

View Full Version : AvsTimer x64


zorr
10th September 2018, 22:36
I have made some modifications to kassandro's AvsTimer plugin so that it can be used with AvisynthOptimizer. I tried to add x64 platform to the Visual Studio project but it doesn't compile. Can someone take a look and try to get the x64 version working?

I have the project with my modifications uploaded here:
AvsTimer (https://drive.google.com/drive/folders/1QHvkOATqm53qfbdrkiz00oddCHnAhxeY?usp=sharing)

:thanks:

Groucho2004
10th September 2018, 23:14
I have made some modifications to kassandro's AvsTimer plugin so that it can be used with AvisynthOptimizer. I tried to add x64 platform to the Visual Studio project but it doesn't compile. Can someone take a look and try to get the x64 version working?

I have the project with my modifications uploaded here:
AvsTimer (https://drive.google.com/drive/folders/1QHvkOATqm53qfbdrkiz00oddCHnAhxeY?usp=sharing)

:thanks:
Here you go. (https://www.dropbox.com/s/g3na47mtcx4y83e/AVSTimer.7z?dl=1)

I adapted the source to work with x64 and updated to interface version 2.6 with AVS+ headers.

Note:
The RDTSC timer won't work since it depends on inline ASM code which is not supported on x64. No big loss anyway.

zorr
10th September 2018, 23:44
Here you go. (https://www.dropbox.com/s/g3na47mtcx4y83e/AVSTimer.7z?dl=1)

I adapted the source to work with x64 and updated to interface version 2.6 with AVS+ headers.

Note:
The RDTSC timer won't work since it depends on inline ASM code which is not supported on x64. No big loss anyway.

Great, thank you! :D I just looked and maybe I'm a bit dense but did you remove the Visual Studio project? How do I compile it?

Groucho2004
11th September 2018, 00:36
Great, thank you! :D I just looked and maybe I'm a bit dense but did you remove the Visual Studio project? How do I compile it?You can just replace the avstimer.cpp in your project and add the ".\avs_headers" directory. Should work. If not, post the error message(s).

zorr
11th September 2018, 20:58
You can just replace the avstimer.cpp in your project and add the ".\avs_headers" directory. Should work. If not, post the error message(s).

All right, managed to build it now. I had to remove "override" from SetCacheHints -function though.

And you're right, RDTSC is not needed. :thanks: