Displaying 4 results from an estimated 4 matches for "high_resolution_clock".
2018 Nov 30
1
Xapian Benchmark results
...ase(s,Xapian::DB_CREATE_OR_OVERWRITE, 512);
}
Xapian::TermGenerator indexer;
Xapian::Stem stemmer("english");
Xapian::Document doc;
string line_string;
char filename[100];
ifstream infs;
char *tok, filepath[1536], content[2048], line[2048];
int i;
high_resolution_clock::time_point start, end;
infs.open(argv[1], ifstream::in);
indexer.set_stemmer(stemmer);
start = high_resolution_clock::now();
doc.set_data("content");
indexer.set_document(doc);
line_string = "";
while(infs.good())
{...
2017 Jan 09
5
The most efficient way to implement an integer based power function pow in LLVM
Hi,
I want an efficient way to implement function pow in LLVM instead of
invoking pow() math built-in. For algorithm part, I am clear for the logic.
But I am not quite sure for which parts of LLVM should I replace built-in
pow with another efficient pow implementation. Any comments and feedback
are appreciated. Thanks!
--
Wei Ding
-------------- next part --------------
An HTML attachment was
2016 Oct 07
2
Using std::chrono
VS2013 support is dropped in about 1 week from now :)
On Thu, Oct 6, 2016 at 11:37 PM Mueller-Roemer, Johannes Sebastian <
Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de> wrote:
> Visual Studio up to and including VS2013 implements
> std::chrono::high_resolution_clock in an absolutely unusable manner (it is
> a very low resolution clock…) [1]. Also, division is implemented
> incorrectly [2]. I have run into both issues in my private developments, so
> I would avoid them as long as VS2013 is supported by LLVM (I believe it
> still is?).
>
>
>...
2016 Oct 07
3
Using std::chrono
Hi all,
We're considering using std::chrono more heavily in lldb. However, A quick
search of the llvm, clang, and lld codebases shos almost zero usage of
chrono. I wanted to see if this was for technical reasons (eg some compiler
doesn't support it well) or simply because nobody has needed it yet. If
it's the former then I'd like to be aware of the issues so we don't fall
into